This workflow allows it to run any of the 29 tests
on any of the 4 containers.
On commit, currently the CI only runs 24 tests out of the 116
possible combinations of test runs.
As the project grows, the usefulness of this tool will also grow.
--- /dev/null
+name: Manual test
+
+on:
+ workflow_dispatch:
+ inputs:
+ test:
+ description: 'Test to run'
+ default: '04'
+ required: true
+ container:
+ type: choice
+ description: 'distro'
+ default: 'fedora'
+ options:
+ - "fedora"
+ - "arch"
+ - "debian"
+ - "opensuse"
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ timeout-minutes: 45
+ container:
+ image: ghcr.io/dracutdevs/${{ inputs.container }}
+ options: "--privileged -v /dev:/dev"
+ steps:
+ - name: "Checkout Repository"
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+
+ - name: "${{ inputs.container }} TEST-${{ inputs.test }}"
+ run: ./tools/test-github.sh "TEST-${{ inputs.test }}" ${{ inputs.test }}