File tree Expand file tree Collapse file tree 1 file changed +5
-33
lines changed Expand file tree Collapse file tree 1 file changed +5
-33
lines changed Original file line number Diff line number Diff line change @@ -2,39 +2,11 @@ name: Test Dependency Graph
2
2
3
3
on :
4
4
pull_request :
5
- types : [labeled]
5
+ types : [labeled, synchronize ]
6
6
7
7
jobs :
8
8
test-dependants :
9
- if : contains(github.event.pull_request.labels.*.name, 'approved')
10
- strategy :
11
- fail-fast : false
12
- matrix :
13
- provider :
14
- - swift-libp2p/swift-peer-id
15
- - swift-libp2p/swift-libp2p-core
16
- - swift-libp2p/swift-libp2p
17
- os : [ubuntu-latest, macos-latest]
18
- swift-version : ['5.9']
19
- runs-on : ${{ matrix.os }}
20
- steps :
21
- - name : Setup swift
22
- uses : swift-actions/setup-swift@v1
23
- with :
24
- swift-version : ' ${{ matrix.swift-version }}'
25
- - name : Check out ${{ github.event.repository.name }}
26
- uses : actions/checkout@v4
27
- with :
28
- path : ${{ github.event.repository.name }}
29
- - name : Check out provider
30
- uses : actions/checkout@v4
31
- with :
32
- repository : ${{ matrix.provider }}
33
- path : provider
34
- ref : ${{ matrix.ref }}
35
- - name : Use local ${{ github.event.repository.name }}
36
- run : swift package --package-path ./provider edit ${{ github.event.repository.name }} --path ./${{ github.event.repository.name }}
37
- - name : Run tests
38
- env :
39
- SWIFT_DETERMINISTIC_HASHING : 1
40
- run : swift test --package-path ./provider
9
+ name : Tests
10
+ uses : swift-libp2p/github-workflows/.github/workflows/providers.yml@main
11
+ with :
12
+ dependents : " [\" swift-libp2p/swift-peer-id\" ,\" swift-libp2p/swift-libp2p-core\" ,\" swift-libp2p/swift-libp2p\" ]"
You can’t perform that action at this time.
0 commit comments