Skip to content

Commit a9d8e33

Browse files
committed
Integration and example tests
1 parent e181199 commit a9d8e33

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pull Request
1+
name: PR
22

33
on:
44
pull_request:
@@ -13,7 +13,7 @@ jobs:
1313
unacceptable_language_check_enabled: false
1414

1515
unit-tests:
16-
name: Checks
16+
name: Unit tests
1717
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
1818
with:
1919
linux_5_8_enabled: false
@@ -23,7 +23,25 @@ jobs:
2323
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
2424

2525
cxx-interop:
26-
name: Checks
26+
name: Cxx interop
2727
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main
2828
with:
2929
linux_5_8_enabled: false
30+
31+
integration-tests:
32+
name: Integration Tests
33+
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main
34+
with:
35+
matrix_linux_5_8_enabled: false
36+
matrix_linux_command: "apt-get update -y -q && apt-get install -y -q jq && ./scripts/run-integration-test.sh"
37+
38+
example-tests:
39+
name: Example Tests
40+
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main
41+
with:
42+
matrix_linux_5_8_enabled: false
43+
matrix_linux_command: "./scripts/test-examples.sh"
44+
45+
swift-6-language-mode:
46+
name: Swift 6 Language Mode
47+
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main

scripts/run-integration-test.sh

100644100755
File mode changed.

scripts/test-examples.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)