Skip to content

Add global_config_fixture, fix broken tests (#723) #1713

Add global_config_fixture, fix broken tests (#723)

Add global_config_fixture, fix broken tests (#723) #1713

Workflow file for this run

name: CICD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: build + test py${{ matrix.python-version }} on ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: setup python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: run ci checks
run: make ci
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
- name: build wheel
run: |
poetry version 0.0.0+${{ github.sha }}
poetry build
- name: upload wheel as artifact
uses: actions/upload-artifact@v3
with:
path: dist/*.whl
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true