-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update readme to reflect changes and to prepare v1 release
- Loading branch information
1 parent
c9c0276
commit 795f791
Showing
4 changed files
with
159 additions
and
85 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
--- | ||
name: Tox | ||
|
||
on: | ||
# push: | ||
# branches: ["main"] | ||
# pull_request: | ||
# branches: ["main"] | ||
# paths-ignore: | ||
# - "docs/**" | ||
# - "mypyc/doc/**" | ||
# - "**/*.rst" | ||
# - "**/*.md" | ||
# - .gitignore | ||
# - CREDITS | ||
# - LICENSE | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 1 | ||
fail-fast: true | ||
matrix: | ||
include: | ||
- name: Test suite with py38-ubuntu | ||
python: "3.8" | ||
arch: x64 | ||
os: ubuntu-latest | ||
toxenv: py | ||
tox_extra_args: "-n 2" | ||
- name: Test suite with py39-ubuntu | ||
python: "3.9" | ||
arch: x64 | ||
os: ubuntu-latest | ||
toxenv: py | ||
tox_extra_args: "-n 2" | ||
- name: Test suite with py310-ubuntu | ||
python: "3.10" | ||
arch: x64 | ||
os: ubuntu-latest | ||
toxenv: py | ||
tox_extra_args: "-n 2" | ||
- name: Test suite with py311-ubuntu | ||
python: "3.11" | ||
arch: x64 | ||
os: ubuntu-latest | ||
toxenv: py | ||
tox_extra_args: "-n 2" | ||
- name: Test suite with py312-ubuntu | ||
python: "3.12" | ||
arch: x64 | ||
os: ubuntu-latest | ||
toxenv: py | ||
tox_extra_args: "-n 2" | ||
name: ${{ matrix.name }} | ||
env: | ||
TOX_SKIP_MISSING_INTERPRETERS: False | ||
# Rich (pip) | ||
FORCE_COLOR: 1 | ||
# Tox | ||
PY_COLORS: 1 | ||
# Mypy (see https://github.com/python/mypy/issues/7771) | ||
TERM: xterm-color | ||
MYPY_FORCE_COLOR: 1 | ||
MYPY_FORCE_TERMINAL_WIDTH: 200 | ||
# Pytest | ||
PYTEST_ADDOPTS: --color=yes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
architecture: ${{ matrix.arch }} | ||
- name: Install tox | ||
run: pip install setuptools==68.2.2 tox==4.11.0 | ||
- name: Setup tox environment | ||
run: tox run -e ${{ matrix.toxenv }} --notest | ||
- name: Test | ||
run: tox run -e ${{ matrix.toxenv }} --skip-pkg-install -- ${{ matrix.tox_extra_args }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
name: Test | ||
name: All Checks | ||
|
||
on: | ||
push: | ||
|
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
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