diff --git a/.github/workflows/unittest.yaml b/.github/workflows/unittest.yaml new file mode 100644 index 0000000..ed17267 --- /dev/null +++ b/.github/workflows/unittest.yaml @@ -0,0 +1,22 @@ +name: Tests +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Test + run: | + python -m unittest.functional_tests + python -m unittest.memory_tests diff --git a/tests/README.md b/tests/README.md index 402ddb4..eb63908 100644 --- a/tests/README.md +++ b/tests/README.md @@ -2,5 +2,5 @@ Tests must be run from root directory * `python -m unittest tests.functional_tests` -* `python -m unittest tests.memory_test` +* `python -m unittest tests.memory_tests` * `python -m unittest tests.profiler` diff --git a/tests/memory_test.py b/tests/memory_tests.py similarity index 100% rename from tests/memory_test.py rename to tests/memory_tests.py