Skip to content

Fix tox.ini for creating dist #12

Fix tox.ini for creating dist

Fix tox.ini for creating dist #12

Workflow file for this run

name: Tests
on:
push:
paths-ignore:
- "*.rst"
- "LICENSE**"
- ".gitignore"
pull_request:
paths-ignore:
- "*.rst"
- "LICENSE**"
- ".gitignore"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`.
run: tox -e py-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
verbose: true