Skip to content

Commit

Permalink
Introduce branch dependency execution
Browse files Browse the repository at this point in the history
We want the most important things to fail first and prevent the
other ones from executing

e.g. if your dist/ is not updated, there's no point seeing the tests fail
  • Loading branch information
paulo-ferraz-oliveira committed Jun 22, 2023
1 parent a772439 commit fbe1317
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/hexpm-mirrors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
name: hexpm-mirrors

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_run:
workflows: ["action"]
types:
- completed

jobs:
test-failing-first-mirror:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
name: ubuntu

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_run:
workflows: ["action"]
types:
- completed

jobs:
integration_test:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
name: windows

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
workflow_run:
workflows: ["action"]
types:
- completed

jobs:
integration_test:
Expand Down

0 comments on commit fbe1317

Please sign in to comment.