chore(py3): remove outdated python2 utf8 hint #311
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: Extras | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
# Cancel previous CI runs when new commits are added to a PR. | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }}-extras | |
cancel-in-progress: true | |
jobs: | |
build_docs_linkcheck: | |
name: Docs / Linkcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Tools | |
run: | | |
sudo apt-get install -y graphviz | |
pip install -U tox | |
# NOTE: the RTD PR build is enabled to view docs, this tests with nitpicky | |
# flags that will catch non-critical warnings. | |
- name: Test Docs | |
run: | | |
tox -e docs | |
- name: Test Linkcheck | |
run: | | |
tox -e linkcheck | |
# TODO: this will become `lint` which will have more checks. | |
build_flake8: | |
name: Flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Tools | |
run: | | |
pip install -U tox | |
- name: Test Flake8 | |
run: | | |
tox -e flake8 | |
build_dist: | |
name: Packaging | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Use minimum version of python needed for this project in setup.cfg. | |
- name: Use Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install Tools | |
run: | | |
pip install -U tox | |
- name: Test Packaging | |
run: | | |
tox -e dist |