Add documentation for framework conversion #4135
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Test | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'releases/*' | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
# This is what will cancel the workflow concurrency | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
pr_test: | |
if: | | |
github.event.pull_request.draft == false && | |
!(startsWith(github.event.pull_request.title, '[WIP]')) && | |
!(startsWith(github.event.pull_request.title, '[Dependent]')) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-20.04', 'windows-2022'] | |
python-version: ['3.10'] | |
include: | |
- python-version: "3.10" | |
tox-env-py: "310" | |
- os: "ubuntu-20.04" | |
tox-env-os: "lin" | |
- os: "windows-2022" | |
tox-env-os: "win" | |
name: pr test (${{ matrix.os }}, Python ${{ matrix.python-version }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Installing Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Installing python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Installing dependencies | |
run: | | |
python -m pip install tox | |
- name: Unit testing | |
run: | | |
tox -vvv -e tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }} --develop -- tests/unit --cov --cov-report=xml | |
- name: Integration testing | |
run: | | |
tox -vvv -e tests-py${{ matrix.tox-env-py }}-${{ matrix.tox-env-os }} -- tests/integration | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
flags: ${{ matrix.os }}_Python-${{ matrix.python-version }} |