Skip to content

Commit

Permalink
adding automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementJ18 committed Jan 25, 2024
1 parent 950d346 commit 551e194
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
File renamed without changes.

0 comments on commit 551e194

Please sign in to comment.