-
Notifications
You must be signed in to change notification settings - Fork 11
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
1 parent
e73b19c
commit 8702693
Showing
11 changed files
with
198 additions
and
75 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,12 @@ | ||
name: Alpha release CI Actions | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '^[0-9].[0-9]+.[0-9]+-a[0-9]+$' | ||
|
||
jobs: | ||
publish-package: | ||
uses: ./.github/workflows/publish-package.yaml |
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,11 @@ | ||
name: Dev CI Actions | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
quality-checks: | ||
uses: ./.github/workflows/quality-typing-checks.yaml | ||
test-run-pinned: | ||
uses: ./.github/workflows/pinned-tests.yaml | ||
needs: [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,30 @@ | ||
name: Pinned Tests | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
tests-pinned: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Run pinned tests | ||
run: | | ||
pip install nox | ||
nox -s tests_run_pinned-${{ matrix.python-version }} | ||
- name: Test Summary | ||
uses: test-summary/action@v2 | ||
with: | ||
paths: "test-reports/${{ matrix.python-version }}/.junitxml.*.xml" | ||
show: "fail" | ||
if: always() |
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,24 @@ | ||
name: Publish package | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- name: Build package | ||
run: | | ||
pip install nox | ||
nox -s dist_build-3.11 | ||
- name: Deploy package | ||
run: | | ||
pip install twine | ||
python -m twine upload -u $EXS_PYPI_USERNAME -p $EXS_PYPI_PASSWORD dist/* |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Quality and Typing Checks | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
quality-checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
cache: 'pip' | ||
- name: Linting check | ||
run: | | ||
pip install nox | ||
nox -s linting_check-3.11 | ||
- name: Formatting check | ||
run: | | ||
pip install nox | ||
nox -s formatting_check-3.11 | ||
typing-check: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.11"] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
- name: Typing check | ||
run: | | ||
pip install nox | ||
nox -s typing_check-${{ matrix.python-version }} |
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,18 @@ | ||
name: Release CI Actions | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
tags: | ||
- '^[0-9].[0-9]+.[0-9]+$' | ||
|
||
jobs: | ||
quality-checks: | ||
uses: ./.github/workflows/quality-typing-checks.yaml | ||
test-run-pinned: | ||
uses: ./.github/workflows/pinned-tests.yaml | ||
needs: [ quality-checks ] | ||
publish-package: | ||
uses: ./.github/workflows/publish-package.yaml | ||
needs: [ test-run-pinned ] |
Oops, something went wrong.