Skip to content

Merge pull request #29 from iamdefinitelyahuman/v1.2.4 #62

Merge pull request #29 from iamdefinitelyahuman/v1.2.4

Merge pull request #29 from iamdefinitelyahuman/v1.2.4 #62

Workflow file for this run

on: ["push", "pull_request"]
name: main workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e lint
py310core:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py310
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
fail_ci_if_error: false
py311core:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py311
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
fail_ci_if_error: false
py312core:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py312
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
fail_ci_if_error: false