-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move contribs to a unique workflow to automatically add new ones in the
future. Signed-off-by: Antonio Navarro Perez <[email protected]>
- Loading branch information
Showing
5 changed files
with
33 additions
and
80 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: contribs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- "contribs/**" | ||
- ".github/**" | ||
|
||
jobs: | ||
setup: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
programs: ${{ steps.set-matrix.outputs.programs }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- id: set-matrix | ||
run: echo "::set-output name=programs::$(ls -d contribs/*/ | cut -d/ -f2 | jq -R -s -c 'split("\n")[:-1]')" | ||
main: | ||
needs: setup | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
program: ${{ fromJson(needs.setup.outputs.programs) }} | ||
name: Run Main | ||
uses: ./.github/workflows/main_template.yml | ||
with: | ||
modulepath: contribs/${{ matrix.program }} | ||
secrets: | ||
codecov-token: ${{ secrets.CODECOV_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.