feat: modify action to return text (instead of file) and workflow to … #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fling a checkbox job with Testflinger | |
on: | |
push: | |
branches: [test-action-fling-test] | |
workflow_dispatch: | |
jobs: | |
checkbox-canary-test: | |
runs-on: [self-hosted, testflinger] | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- checkbox_runtime: checkbox16 | |
data_source: "distro: xenial" | |
checkbox_track: uc16 | |
arch: amd64 | |
queue: hp-elitebook-850-g7-notebook-pc | |
steps: | |
- name: Checkout checkbox monorepo | |
uses: actions/checkout@v4 | |
- name: Create job | |
id: create-job | |
uses: ./.github/actions/create-checkbox-canary-test-job | |
with: | |
queue: ${{ matrix.queue }} | |
data_source: ${{ matrix.data_source }} | |
checkbox_runtime: ${{ matrix.checkbox_runtime }} | |
checkbox_track: ${{ matrix.checkbox_track }} | |
- name: Verify job | |
shell: bash | |
run: | |
echo -e ${{ steps.create-job.outputs.job }} | |
- name: Submit job | |
uses: canonical/certification-github-workflows/.github/actions/fling-test@testflinger-action-incremental | |
with: | |
job: ${{ steps.create-job.outputs.job }} |