Skip to content

feat: use ruff for codegen #436

feat: use ruff for codegen

feat: use ruff for codegen #436

Workflow file for this run

name: Unit testing
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/installation.yml
code-quality:
uses: ./.github/workflows/codequality.yaml
unit-test:
needs: [build, code-quality]
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v4
with:
name: reacton-build-${{ github.run_number }}
path: ./dist
- name: Install
run: |
pip install `echo dist/*.whl`[dev]
- name: test
run: pytest --cov=reacton reacton