Skip to content

Commit

Permalink
ci: Run unit & integration tests on GitHub runner
Browse files Browse the repository at this point in the history
The GitHub hosted runners now support running nested VMs so this can be
used over the Jenkins setup for a smoother CI experience.

Signed-off-by: Rob Bradford <[email protected]>
  • Loading branch information
rbradford committed Jan 25, 2024
1 parent ac45574 commit 0edb224
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Rust Hypervisor Firmware Tests
on: [pull_request, create]

jobs:
build:
name: Tests
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- name: Code checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run unit tests
run: scripts/dev_cli.sh tests --unit
- name: Run integration tests
run: scripts/dev_cli.sh tests --integration
- name: Run integration tests
run: scripts/dev_cli.sh tests --integration-coreboot

0 comments on commit 0edb224

Please sign in to comment.