.github/workflows/test.yml
name: Python Test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-10.15, windows-2022, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test,fancy]
- name: Test
run: |
branb test
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true