-
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (44 loc) · 989 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
docker-version:
- "18.03"
- "18.09"
- "19.03"
- "20.10"
- "23"
- "24"
- "25"
- "26"
- "27"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Show host Docker information
run: |
docker version
docker info
- name: Run tests with Docker ${{ matrix.docker-version }}
run: |
if [[ '${{ runner.debug }}' == 1 ]]; then
export DEBUG=true
export DOND_SHIM_DEBUG=true
fi
scripts/test.sh '${{ matrix.docker-version }}'
result:
needs: test
runs-on: ubuntu-latest
steps:
- run: |
echo "All tests passed!"