e2e tests #466
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: test | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ndnd | |
path: ndnd | |
e2e: | |
needs: test | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/named-data/mini-ndn:master | |
options: --sysctl net.ipv6.conf.all.disable_ipv6=0 --privileged | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
name: ndnd | |
path: /bin/ndnd | |
- name: Run e2e tests | |
run: make e2e |