Skip to content

Commit

Permalink
Try to make workflows dependant
Browse files Browse the repository at this point in the history
  • Loading branch information
BanjoFox committed Aug 22, 2023
1 parent 40dd716 commit 7082c6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aardwolf-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- "**/*"
pull_request:
workflow_call:

concurrency:
group: "${{ github.ref }}"
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/aardwolf-test.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Aardwolf-Social/test
on:
workflow_run:
workflows: ["Aardwolf-Social/build"]
branches:
push:
branches:
- "**/*"
types:
- completed
pull_request:

jobs:

Test-Aardwolf-Build:
runs-on: ubuntu-latest

steps:

- name: Cargo test aardwolf
run: cargo test --all --verbose
- uses: ./.github/workflows/aardwolf-build.yml

- name: Cargo test aardwolf
run: cargo test --all --verbose

0 comments on commit 7082c6e

Please sign in to comment.