summaryrefslogtreecommitdiffstats
path: root/.github/workflows/manualtest.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/manualtest.yml')
-rw-r--r--.github/workflows/manualtest.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/manualtest.yml b/.github/workflows/manualtest.yml
new file mode 100644
index 0000000..b790dcf
--- /dev/null
+++ b/.github/workflows/manualtest.yml
@@ -0,0 +1,38 @@
+name: Manual test
+
+on:
+ workflow_dispatch:
+ inputs:
+ test:
+ description: "Array of tests to run, such as [11,12]"
+ default: "['04']"
+ required: true
+ container:
+ type: choice
+ description: 'distro'
+ default: 'fedora'
+ options:
+ - "fedora"
+ - "arch"
+ - "debian"
+ - "ubuntu"
+ - "opensuse"
+ - "gentoo"
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ timeout-minutes: 45
+ strategy:
+ matrix:
+ test: ${{ fromJSON(inputs.test) }}
+ container:
+ image: ghcr.io/dracutdevs/${{ inputs.container }}
+ options: "--privileged -v /dev:/dev"
+ steps:
+ - name: "Checkout Repository"
+ uses: actions/checkout@v1
+ with:
+ fetch-depth: 0
+ - name: "${{ inputs.container }} ${{ matrix.test }}"
+ run: ./tools/test-github.sh "TEST-${{ matrix.test }}" ${{ matrix.test }}