File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Integration Test
2
+ on :
3
+ workflow_call :
4
+ push :
5
+ branches : [main]
6
+ concurrency :
7
+ group : ${{ github.workflow }}-${{ github.ref }}-integration-test
8
+ cancel-in-progress : true
9
+ jobs :
10
+ integration-test :
11
+ name : Integration Test
12
+ runs-on : ubuntu-22.04
13
+ timeout-minutes : 10
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ toolchain : [latest]
18
+ steps :
19
+ - name : Install Swift
20
+ uses : vapor/swiftly-action@v0.1
21
+ with :
22
+ toolchain : ${{ matrix.toolchain }}
23
+ env :
24
+ SWIFTLY_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ - name : Checkout
26
+ uses : actions/checkout@v4.2.2
27
+ - name : Resolve Swift dependencies
28
+ run : swift package resolve
29
+ working-directory : ./IntegrationTests
30
+ - name : Start Services
31
+ run : docker compose up -d
32
+ working-directory : ./IntegrationTests
33
+ - name : Run Integration Tests
34
+ run : swift test --parallel
35
+ working-directory : ./IntegrationTests
Original file line number Diff line number Diff line change 13
13
name : Unit Test
14
14
uses : ./.github/workflows/unit-test.yaml
15
15
secrets : inherit
16
+
17
+ integration_test :
18
+ name : Integration Test
19
+ uses : ./.github/workflows/integration-test.yaml
You can’t perform that action at this time.
0 commit comments