-
Notifications
You must be signed in to change notification settings - Fork 7
38 lines (33 loc) · 859 Bytes
/
tests.yml
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
name: Tests
on:
push:
branches:
- main
paths:
- '**'
- '!*.md'
pull_request:
paths:
- '**'
- '!*.md'
schedule:
- cron: '0 1 * * *'
jobs:
tests:
name: Test GEP on ${{ matrix.images }} (${{ matrix.runner == 'ubuntu-24.04-arm' && 'aarch64' || 'x86_64' }})
strategy:
fail-fast: false
matrix:
images: [ubuntu24.04, ubuntu22.04, ubuntu20.04, arch]
runner: [ubuntu-24.04, ubuntu-24.04-arm]
exclude:
- images: arch
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Docker Build ${{ matrix.images }}
run: docker compose build ${{ matrix.images }}
- name: Test on ${{ matrix.images }}
run: docker compose run ${{ matrix.images }} ./tests.sh