Merge pull request #94 from Zxilly/pathload #206
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: Build and tests | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
jobs: | |
build_and_tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ">=1.21.0" | |
- name: Build | |
run: go build -o a | |
- name: Test | |
shell: bash | |
run: go test -timeout 1800s -v -race -coverprofile=coverage.txt -covermode=atomic -tags slow_test | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 |