test: add basic test setup to reproduce current tests #1
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 fluxion-go | |
# This will be expanded for more robust testing | |
# right now we build and run the main test command | |
# and test the package "types" directory | |
on: | |
pull_request: [] | |
jobs: | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
# TODO add more configurations | |
strategy: | |
fail-fast: false | |
matrix: | |
test: [["fluxrm/flux-sched:bookworm"]] | |
container: | |
image: ${{ matrix.test[0] }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ^1.19 | |
- name: Build | |
run: make build | |
- name: Test Binary | |
run: make test-binary | |
- name: Test Modules | |
run: make test-modules |