-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (34 loc) · 935 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
branches: [ simplify-networking ]
pull_request:
branches: [ simplify-networking ]
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up dependencies
run: |
sudo add-apt-repository ppa:smoser/swtpm
sudo apt-get update
sudo apt-get install qemu qemu-system-x86 qemu-utils npm swtpm
sudo npm i -D tap-junit
sudo systemctl start docker
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Run the test
run: ARTIFACTS=~/test_artifacts COSA_NO_KVM=yes ./tests/test-coreos.sh
- name: Upload artifact
if: always()
uses: actions/upload-artifact@v2
with:
name: artifacts
path: ~/test_artifacts
retention-days: 5