gha: add neoeden job to test.yml workflow #867
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: Unit tests | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: [master] | |
jobs: | |
unit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: get eden | |
uses: actions/checkout@v4.1.1 | |
- name: setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.22' | |
- name: run tests | |
run: go test -json $(go list ./... | grep -v /eden/tests/) > test.json | |
- name: Annotate tests | |
if: always() | |
uses: guyarb/golang-test-annotations@v0.5.1 | |
with: | |
test-results: test.json |