-
Notifications
You must be signed in to change notification settings - Fork 52
36 lines (34 loc) · 931 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
name: unit-tests
on:
push:
pull_request:
schedule:
- cron: 0 4 * * MON,FRI
jobs:
OS:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scenario:
- docker.io/debian:unstable
- docker.io/ubuntu:devel
- docker.io/ubuntu:rolling
- docker.io/ubuntu:latest
- registry.fedoraproject.org/fedora:latest
- registry.fedoraproject.org/fedora:rawhide
- quay.io/centos/centos:stream8
- quay.io/centos/centos:stream9
timeout-minutes: 30
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
# need this to also fetch tags
fetch-depth: 0
- name: Run unit tests
run: |
dpkg -s podman docker || true
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
${{ matrix.env }} tests/run ${{ matrix.scenario }}