diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..d5b03e2 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,19 @@ +name: Tests + +on: + push: + +jobs: + unit-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v6 + with: + python-version: "3.13" + - name: Install dependencies + run: | + pip install . + pip install -r requirements-dev.txt + - name: Run unit tests + run: pytest tests/unit/ diff --git a/requirements.txt b/requirements.txt index 616a633..4bcf382 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ kirjava==0.4.0 tqdm -httpx==0.28.1 \ No newline at end of file +httpx==0.28.1 +pydantic>=2,<3 \ No newline at end of file