-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DX: outsource GitHub workflows to ComPWA/actions (#180)
* MAINT: rename "✨ Feature" issue label
- Loading branch information
Showing
21 changed files
with
143 additions
and
456 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
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,11 @@ | ||
<!-- Fixes #xxx --> | ||
|
||
<!-- For the PR title, follow a conventional commit message style: https://compwa-org.readthedocs.io/en/stable/develop.html#commit-conventions --> | ||
<!-- | ||
For the PR title, follow a conventional commit message style: | ||
https://compwa-org.readthedocs.io/en/stable/develop.html#commit-conventions | ||
--> | ||
|
||
<!-- Contents of this PR appear in the release notes. Please use screenshots, code snippets etc. to illustrate proposed changes --> | ||
<!-- | ||
Contents of this PR appear in the release notes. Please use screenshots, code snippets | ||
etc. to illustrate proposed changes | ||
--> |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,39 @@ | ||
name: CI | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
PYTHONHASHSEED: "0" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- epic/* | ||
pull_request: | ||
branches: | ||
- main | ||
- epic/* | ||
workflow_dispatch: | ||
inputs: | ||
specific-pip-packages: | ||
description: Run CI with specific pip packages | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
doc: | ||
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v1 | ||
with: | ||
specific-pip-packages: ${{ inputs.specific-pip-packages }} | ||
pytest: | ||
uses: ComPWA/actions/.github/workflows/pytest.yml@v1 | ||
with: | ||
coverage-target: pwa_pages | ||
skipped-python-versions: all | ||
specific-pip-packages: ${{ inputs.specific-pip-packages }} | ||
style: | ||
if: inputs.specific-pip-packages == '' | ||
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v1 |
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,22 @@ | ||
name: Clean caches | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
workflow_dispatch: | ||
inputs: | ||
ref: | ||
description: Clean caches for this branch name or ref | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
cleanup: | ||
name: Remove caches | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: ComPWA/actions/clean-caches@v1 | ||
with: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
ref: ${{ inputs.ref }} |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.