-
Notifications
You must be signed in to change notification settings - Fork 12
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
7 changed files
with
246 additions
and
4 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,42 @@ | ||
--- | ||
name: Build & Deploy Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-build-n-deploy-docs | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
run-build-n-deploy-docs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.8"] | ||
|
||
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.5.1 | ||
|
||
- name: Install dependencies | ||
run: poetry install --with=docs --no-cache --sync | ||
|
||
- name: Run build & deploy documentation | ||
run: poetry run poe run-build-n-deploy-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
name: Code Quality | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
types: | ||
- opened | ||
- reopened | ||
|
||
schedule: | ||
- cron: 0 12 * * 6 | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-code-quality | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
run-code-quality-checks: | ||
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.5.1 | ||
|
||
- name: Install dependencies | ||
run: poetry install --no-cache --sync | ||
|
||
- name: Run code quality checks with pre-commit | ||
run: poetry run poe run-code-quality-checks |
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,64 @@ | ||
--- | ||
name: Type Checks | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
types: | ||
- opened | ||
- reopened | ||
|
||
schedule: | ||
- cron: 0 12 * * 6 | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-type-checks | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
run-type-checks: | ||
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.5.1 | ||
|
||
- name: Install dependencies | ||
run: poetry install --no-cache --sync | ||
|
||
- name: Run type checks with mypy | ||
run: poetry run poe run-type-checks |
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,64 @@ | ||
--- | ||
name: Unit Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
|
||
pull_request: | ||
branches: | ||
- main | ||
- dev | ||
- fix/** | ||
- hotfix/** | ||
- feature/** | ||
- release/** | ||
- dependabot/** | ||
types: | ||
- opened | ||
- reopened | ||
|
||
schedule: | ||
- cron: 0 12 * * 6 | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.action_path }}-${{ github.ref }}-unit-tests | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
run-unit-tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
python-version: ["3.8", "3.9", "3.10", "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.5.1 | ||
|
||
- name: Install dependencies | ||
run: poetry install --no-cache --sync | ||
|
||
- name: Run unit tests | ||
run: poetry run poe run-unit-tests |
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
Empty file.
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,4 @@ | ||
extend = "../pyproject.toml" | ||
ignore = [ | ||
"D", # Only limited docstrings are required. | ||
] |