Refactoring overhaul #5
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
| # This workflow installs required Python dependencies and then runs the available tests. | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
| name: Run Acceptance and Unit tests | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.10" # Only the oldest supported Python version is included here | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip # upgrade pip to latest version | |
| pip install . # install pyproject.toml dependencies - excludes optional dependencies (such as visualisation) | |
| - name: Run tests | |
| run: | | |
| python run_tests.py |