Skip to content

merge master

merge master #328

Workflow file for this run

name: tests
on:
- push
jobs:
build:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.11"]
name: ${{ matrix.platform }} (${{ matrix.python-version }})
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
python-version: ['3.11']
platform: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox -vv
env:
PLATFORM: ${{ matrix.platform }}
# - name: Test with pytest
# run: |
# pip install '.[tests]'
# pytest test/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true