Remove legacy migration flags #29
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| branches: | |
| - main | |
| # Allows manual run from the Actions tab | |
| workflow_dispatch: | |
| # Allows re-use in other workflows | |
| workflow_call: | |
| jobs: | |
| run-tests: | |
| name: Run tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| max-parallel: 8 | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Setup python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install optional dependencies | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get install libsnappy-dev | |
| shell: bash | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install .[test] | |
| - name: Run tests | |
| run: | | |
| cd tests | |
| python3 -m pytest --dist loadfile -v --junitxml="test_results.xml" | |
| - name: Upload emodpy test results | |
| uses: actions/upload-artifact@v6 | |
| if: failure() | |
| with: | |
| name: emodpy_test_results | |
| path: tests/test_results.xml |