Skip to content

Rewrite project build and metadata using pyproject.toml #136

Rewrite project build and metadata using pyproject.toml

Rewrite project build and metadata using pyproject.toml #136

Workflow file for this run

name: Run Tox tests
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Tox flake8
run: tox -e flake8
- name: Tox docs
run: tox -e docs
- name: Tox mypy
run: tox -e mypy
- name: Tox py3
run: tox -e py3
.tox/py3/

Check failure on line 34 in .github/workflows/tox.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/tox.yaml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Upload tox artifacts
uses: actions/upload-artifact@v4
with:
name: tox-results-${{ matrix.python-version }}
path: |
.tox/
retention-days: 2