TST: remove suite_script test output files before each new run, run tests with less max_events, add better 'diff failed' output at end of terminal output #647
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: ["main", "development"] | |
pull_request: | |
branches: ["main", "development"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install test-script dependencies | |
run: | | |
pip install pytest | |
pip install numpy | |
pip install scipy | |
pip install statsmodels | |
pip install pillow | |
pip install matplotlib | |
- name: Run tests | |
run: | | |
pytest . |