-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
267 additions
and
721 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,19 +1,18 @@ | ||
--- | ||
name: Build & Deploy Docs | ||
name: Deploy Latest Documentation | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-build-n-deploy-docs | ||
group: ${{ github.action_path }}-${{ github.ref }}-latest-docs | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
run-build-n-deploy-docs: | ||
docs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -35,16 +34,18 @@ jobs: | |
architecture: "x64" | ||
|
||
- name: Install Poetry | ||
run: pip install poetry==1.6.1 | ||
run: pip install poetry==1.8.4 | ||
|
||
- name: Install base dependencies | ||
run: poetry install --no-cache | ||
|
||
- name: Install dependencies | ||
run: poetry install --with=docs --no-cache --sync --extras=all | ||
- name: Prepare environment for docs deploy | ||
run: poetry run poe prepare-deploy-docs | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
- name: Run build & deploy documentation | ||
run: | | ||
poetry run mike deploy --push --update-aliases $(poetry version | awk '{ print $2 }') latest -F mkdocs.yaml | ||
- name: Deploy documentation | ||
run: poetry run poe run deploy-latest-docs |
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
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,66 @@ | ||
--- | ||
name: All Tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- src/** | ||
- test/** | ||
- .github/** | ||
- pyproject.toml | ||
- poetry.lock | ||
schedule: | ||
- cron: 0 12 * * 6 | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-test-all | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
python-version: ["3.8", "3.13"] | ||
|
||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: "x64" | ||
|
||
- name: Install Poetry | ||
run: pip install poetry==1.8.4 | ||
|
||
- name: Install basic dependencies | ||
run: poetry install --no-cache | ||
|
||
- name: Prepare environment for all tests | ||
run: poetry run poe prepare-test-all | ||
|
||
- name: Run all tests | ||
run: poetry run poe test-all | ||
|
||
- name: Create XML coverage files | ||
run: poetry run coverage xml | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
env_vars: OS,PYTHON | ||
flags: all | ||
files: ./coverage.xml | ||
verbose: true |
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,66 @@ | ||
--- | ||
name: End-to-End Tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- src/** | ||
- test/** | ||
- .github/** | ||
- pyproject.toml | ||
- poetry.lock | ||
schedule: | ||
- cron: 0 12 * * 6 | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-test-e2e | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
|
||
env: | ||
OS: ${{ matrix.os }} | ||
PYTHON: ${{ matrix.python-version }} | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: "x64" | ||
|
||
- name: Install Poetry | ||
run: pip install poetry==1.8.4 | ||
|
||
- name: Install basic dependencies | ||
run: poetry install --no-cache | ||
|
||
- name: Prepare environment for e2e tests | ||
run: poetry run poe prepare-test-e2e | ||
|
||
- name: Run e2e tests | ||
run: poetry run poe test-e2e | ||
|
||
- name: Create XML coverage files | ||
run: poetry run coverage xml | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
env_vars: OS,PYTHON | ||
flags: e2e | ||
files: ./coverage.xml | ||
verbose: true |
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,44 @@ | ||
--- | ||
name: Test Style | ||
|
||
on: | ||
push: | ||
schedule: | ||
- cron: 0 12 * * 6 | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-code-quality | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.8", "3.11"] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: "x64" | ||
|
||
- name: Install Poetry | ||
run: pip install poetry==1.8.4 | ||
|
||
- name: Install basic dependencies | ||
run: poetry install --no-cache | ||
|
||
- name: Prepare environment for style tests | ||
run: poetry run poe prepare-test-style | ||
|
||
- name: Run style tests | ||
run: poetry run poe test-style |
Oops, something went wrong.