Skip to content

Reusable workflows for eden tests #12

Reusable workflows for eden tests

Reusable workflows for eden tests #12

Workflow file for this run

---
name: Test
on:
workflow_call:
inputs:
checkout_path:
required: true
type: string
jobs:
smoke:
continue-on-error: true
strategy:
matrix:
file_system: ['ext4', 'zfs']
tpm: [true, false]
name: Smoke tests
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
with:
repository: yash-zededa/eden
path: "./eden"
ref: master
- name: Run Smoke tests
uses: ${{ inputs.checkout_path }}/.github/actions/run-eden-test
with:
file_system: ${{ matrix.file_system }}
tpm_enabled: ${{ matrix.tpm }}
suite: "smoke.tests.txt"
networking:
name: Networking test suite
needs: smoke
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
- name: Run Networking tests
uses: ./.github/actions/run-eden-test
with:
file_system: "ext4"
tpm_enabled: true
suite: "networking.tests.txt"
storage:
continue-on-error: true
strategy:
matrix:
file_system: ['ext4', 'zfs']
name: Storage test suite
needs: smoke
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
- name: Run Storage tests
uses: ./.github/actions/run-eden-test
with:
file_system: ${{ matrix.file_system }}
tpm_enabled: true
suite: "storage.tests.txt"
lpc-loc:
name: LPC LOC test suite
needs: smoke
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
- name: Run LPC LOC tests
uses: ./.github/actions/run-eden-test
with:
file_system: "ext4"
tpm_enabled: true
suite: "lpc-loc.tests.txt"
eve-upgrade:
continue-on-error: true
strategy:
matrix:
file_system: ['ext4', 'zfs']
name: EVE upgrade test suite
needs: smoke
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
- name: Run EVE upgrade tests
uses: ./.github/actions/run-eden-test
with:
file_system: ${{ matrix.file_system }}
tpm_enabled: true
suite: "eve-upgrade.tests.txt"
user-apps:
name: User apps test suite
needs: smoke
runs-on: self-hosted
steps:
- name: Get code
uses: actions/checkout@v3
- name: Run User apps upgrade tests
uses: ./.github/actions/run-eden-test
with:
file_system: "ext4"
tpm_enabled: true
suite: "user-apps.tests.txt"