Skip to content

Commit 1349115

Browse files
committed
Add sentinel tests to coverage.
1 parent 42d7884 commit 1349115

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test-coverage.yaml

+31
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,37 @@ jobs:
4949
name: coverage-${{matrix.os}}-${{matrix.ruby}}
5050
path: .covered.db
5151

52+
test-sentinel:
53+
name: ${{matrix.ruby}} on ${{matrix.os}}
54+
runs-on: ${{matrix.os}}-latest
55+
56+
strategy:
57+
matrix:
58+
os:
59+
- ubuntu
60+
61+
ruby:
62+
- "3.3"
63+
64+
steps:
65+
- uses: actions/checkout@v4
66+
67+
- name: Install Docker Compose
68+
run: |
69+
sudo apt-get update
70+
sudo apt-get install -y docker-compose
71+
72+
- name: Run tests
73+
timeout-minutes: 10
74+
env:
75+
RUBY_VERSION: ${{matrix.ruby}}
76+
run: docker-compose -f sentinel/docker-compose.yaml up tests
77+
78+
- uses: actions/upload-artifact@v3
79+
with:
80+
name: coverage-${{matrix.os}}-${{matrix.ruby}}
81+
path: .covered.db
82+
5283
validate:
5384
needs: test
5485
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)