Revert to original queue #10
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: Nvidia Graphics Tests | |
on: | |
workflow_run: | |
workflows: | |
- "Smoke Test" | |
types: | |
- completed | |
push: # OBS; To be Removed latter, used only to check workflow functionallity | |
branches: [ main, nvidia-ci-workflow ] # TODO; Remove this latter | |
pull_request: # TODO; Remove this latter | |
branches: [ main ] # TODO; Remove this latter | |
jobs: | |
build-and-test: | |
runs-on: [self-hosted, testflinger] | |
strategy: | |
fail-fast: true | |
matrix: | |
queue: | |
- 202008-28167 | |
data_source: | |
- "distro: noble" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
# - name: Build docker-snap | |
# uses: snapcore/action-build@v1 | |
# id: snapcraft | |
# with: | |
# snapcraft-args: snap --build-for=amd64 --output docker.snap | |
- name: Submit Testflinger job | |
uses: canonical/testflinger/.github/actions/submit@main | |
with: | |
poll: true | |
job: | | |
job_queue: ${{ matrix.queue }} | |
global_timeout: 3600 | |
output_timeout: 1800 | |
provision_data: | |
${{ matrix.data_source }} | |
test_data: | |
attachments: | |
- local: ".github/workflows/nvidia-test" | |
agent: "test" | |
test_cmds: | | |
find . | |
file test/setup.sh | |
cat ./test/setup.sh | ssh ubuntu@$DEVICE_IP | |
ssh ubuntu@$DEVICE_IP sudo reboot | |
# wait TBA | |
#cat ./test/test.sh | ssh ubuntu@$DEVICE_IP | |