diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml new file mode 100644 index 0000000..61396d0 --- /dev/null +++ b/.github/workflows/unit_tests.yaml @@ -0,0 +1,22 @@ +name: Unit Tests (with tox) +on: pull_request + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python }} + - name: Install tox and any other packages + run: pip install tox + - name: Run tox + # Run tox using the version of Python in `PATH` + run: tox -e py