Feature/add minimal k8s scheduler (#127) #127
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: Go Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
directory: [ 'shared', 'HadesCloneContainer', 'HadesAPI' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
cache-dependency-path: "**/*.sum" | |
- name: Install dependencies | |
run: cd ${{ matrix.directory }} && go mod download | |
- name: Test with Go | |
run: go test ./${{ matrix.directory }}/... -json > TestResults-${{ matrix.directory }}.json | |
- name: Upload Go test results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Go-results-${{ matrix.directory }} | |
path: TestResults-${{ matrix.directory }}.json |