Minor update from project-template

This commit is contained in:
Adam Fowler
2021-03-21 18:57:24 +00:00
parent a08b1e8087
commit fb849f063d
2 changed files with 4 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ jobs:
strategy: strategy:
matrix: matrix:
image: ['swift:5.3-bionic', 'swift:5.3-focal', 'swift:5.3-amazonlinux2', 'swift:5.3-centos8'] image: ['swift:5.3-bionic', 'swift:5.3-focal', 'swift:5.3-amazonlinux2', 'swift:5.3-centos8']
container: container:
image: ${{ matrix.image }} image: ${{ matrix.image }}
steps: steps:
@@ -26,7 +27,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test - name: Test
run: | run: |
swift test --enable-test-discovery --enable-code-coverage --sanitize=thread swift test --enable-test-discovery --enable-code-coverage --sanitize=thread
- name: Convert coverage files - name: Convert coverage files
run: | run: |
llvm-cov export -format="lcov" \ llvm-cov export -format="lcov" \

View File

@@ -11,6 +11,7 @@ jobs:
strategy: strategy:
matrix: matrix:
image: ['nightly-5.4-bionic', 'nightly-5.4-focal', 'nightly-5.4-centos8', 'nightly-5.4-amazonlinux2'] image: ['nightly-5.4-bionic', 'nightly-5.4-focal', 'nightly-5.4-centos8', 'nightly-5.4-amazonlinux2']
container: container:
image: swiftlang/swift:${{ matrix.image }} image: swiftlang/swift:${{ matrix.image }}
steps: steps:
@@ -18,4 +19,4 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test - name: Test
run: | run: |
swift test --enable-test-discovery --enable-code-coverage --sanitize=thread swift test --enable-test-discovery --sanitize=thread