Fix _SWITCH_UPGRADE without proposal error message #150
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: CI | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
tox: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 7 | |
matrix: | |
python-version: | |
- 3.8 | |
- 3.9 | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
- pypy-3.9 | |
- pypy-3.10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install --upgrade tox tox-gh-actions | |
- name: Initialize tox envs | |
run: | | |
tox --parallel auto --notest | |
- name: Test with tox | |
run: | | |
tox --parallel 0 | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage.xml |