Skip to content

Commit

Permalink
ci: extended integration tests
Browse files Browse the repository at this point in the history
Allow the test to run manually. It also scheduled to runs once a day.
  • Loading branch information
jozzsi committed Nov 2, 2024
1 parent 89a86dc commit 7ad43c1
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/integration-extra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Integration Test (extra)

on:
schedule:
- cron: '30 23 * * *' # every day at 23:30 UTC

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
basic:
# run this test on all containers
name: ${{ matrix.test }} on ${{ matrix.container }}
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: basic-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}-${{ matrix.test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
container: [
"alpine:edge",
"centos:stream10-development",
"fedora:rawhide",
"debian:sid",
"ubuntu:rolling",
]
test: [
"10",
"11",
"12",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"30",
"40",
"41",
"42",
"80",
"81",
]
container:
image: ghcr.io/dracut-ng/${{ matrix.container }}
options: '--device=/dev/kvm --privileged'
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "${{ matrix.container }} TEST-${{ matrix.test }}"
run: ./test/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'doc_site/**'
- 'man/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
# set V to 2 when re-running jobs with debug logging enabled
# see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging
Expand Down

0 comments on commit 7ad43c1

Please sign in to comment.