Control character can be non alphabetical #78
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: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test Python package | |
runs-on: ubuntu-latest | |
container: | |
image: pierremarchand/asciinema_playground | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python package | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install .[dev] | |
- name: Run regression tests | |
run: | | |
set enable-bracketed-paste off | |
python3 -m pytest -v | |
- name: Check with ruff | |
run: | | |
ruff asciinema_automation/ tests/ | |
- name: Check with mypy | |
run: | | |
mypy asciinema_automation/ tests/ | |
- name: Check building a binary wheel and a source tarball | |
run: | | |
python3 -m pip install twine build --user | |
python3 -m build --sdist --wheel --outdir dist/ . | |
python3 -m twine check dist/* |