-
Notifications
You must be signed in to change notification settings - Fork 17
34 lines (34 loc) · 1.06 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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