Merge pull request #123 from natefoo/rtd-conf #355
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: Test | |
on: [push, pull_request] | |
concurrency: | |
group: py-test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9', '3.13'] | |
galaxy-branch: ['release_23.0', 'dev'] | |
exclude: | |
# either the release existed before the python release or some expensive-to-build wheels (e.g. numpy) don't | |
# exist for the pinned package version / python version combo | |
- python-version: '3.13' | |
galaxy-branch: 'release_23.0' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Precreate virtualenv | |
run: python -m venv tests/galaxy_venv | |
- name: Install tox | |
run: pip install tox | |
- name: Run tests | |
run: tox -e test | |
env: | |
GRAVITY_TEST_GALAXY_BRANCH: ${{ matrix.galaxy-branch }} | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v2 |