diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..4f18171 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +name: tests + +on: + push: + pull_request: + +permissions: + contents: read + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + cache: pip + - run: python -m pip install --upgrade pip + - run: python -m pip install -r requirements.txt + - run: python -m pytest tests/ -q diff --git a/README.md b/README.md index 4773786..b343adb 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ pytest tests/ -v ``` ``` -148 passed in 0.5s +153 passed ``` ## Built With