Skip to content

Commit 0be1f57

Browse files
committed
Add sanitize thread to docker-compose
1 parent b8c4903 commit 0be1f57

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,23 @@ jobs:
3434
matrix:
3535
tag:
3636
- swift:5.1
37-
- swift:5.2
38-
- swift:5.3
39-
# container:
40-
# image: ${{ matrix.tag }}
37+
# swift docker images don't have docker-compose installed
38+
# - swift:5.2
39+
# - swift:5.3
40+
# container:
41+
# image: ${{ matrix.tag }}
4142
steps:
4243
- name: Checkout
4344
uses: actions/checkout@v2
4445
- name: Mosquitto
4546
run: |
4647
docker-compose --version
47-
docker --version
48+
swift --version
4849
./scripts/mosquitto.sh start
4950
- name: Test
5051
run: |
5152
swift test --enable-test-discovery --enable-code-coverage --sanitize=thread
53+
# ubuntu latest docker image doesn't have llvm-cov installed
5254
#- name: Convert coverage files
5355
# run: |
5456
# llvm-cov export -format="lcov" \

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
- mosquitto
1616
environment:
1717
- MOSQUITTO_SERVER=mosquitto
18-
command: /bin/bash -xcl "swift test --enable-test-discovery"
18+
command: /bin/bash -xcl "swift test --enable-test-discovery --sanitize=thread"
1919

2020
mosquitto:
2121
image: eclipse-mosquitto

0 commit comments

Comments
 (0)