Move to Parsl HighThroughputExecutor for default workflow execution #162
Workflow file for this run
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] | |
pull_request: | |
branches: [main] | |
jobs: | |
run_tests: | |
strategy: | |
matrix: | |
# matrixed execution for parallel gh-action performance increases | |
python_version: ["3.8", "3.9", "3.10"] | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
env: | |
OS: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Python setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install poetry | |
run: pip install poetry | |
- name: Install environment | |
run: poetry install --no-interaction --no-ansi | |
- name: Run sphinx-docs build test | |
run: poetry run sphinx-build docs/source doctest -W | |
- name: Run citation file test | |
run: poetry run cffconvert --validate | |
- name: Run pytest | |
run: poetry run pytest |