Skip to content

Get some of this working. #97

Get some of this working.

Get some of this working. #97

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# python: ['3.9', '3.10', '3.11', '3.12', '3.13']
python: ['3.13']
# os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py
# Run the extra tox configurations that run integration type tests.
extra:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
# run: tox -e with_optional,runner,module,integration
run: tox -e with_optional,runner
coverage:
needs: extra
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install tox and any other packages
run: pip install tox
- name: Collect coverage data
run: tox -e coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true