Skip to content

Merge pull request #123 from natefoo/rtd-conf #355

Merge pull request #123 from natefoo/rtd-conf

Merge pull request #123 from natefoo/rtd-conf #355

Workflow file for this run

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