Simplify networking day1 #263
Workflow file for this run
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: 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 |