Merge pull request #1409 from dashpay/release_1.7.0 #4453
This file contains hidden or 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: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| - v[0-9].[0-9]+-dev | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| part: ["00", "01", "02", "03", "04", "05"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: technote-space/get-diff-action@v6 | |
| with: | |
| PATTERNS: | | |
| **/**.go | |
| "!test/" | |
| FILES: | | |
| go.mod | |
| go.sum | |
| Makefile | |
| - uses: actions/setup-go@v7.0.0 | |
| if: env.GIT_DIFF | |
| with: | |
| go-version: "1.26.5" | |
| - name: Install libpcap | |
| if: env.GIT_DIFF | |
| run: sudo apt-get update && sudo apt-get install --yes libpcap-dev | |
| - uses: ./.github/actions/bls | |
| name: Install BLS library | |
| if: env.GIT_DIFF | |
| - name: Run Go Tests | |
| if: env.GIT_DIFF | |
| env: | |
| CGO_LDFLAGS: "-L/usr/local/lib -ldashbls -lrelic_s -lmimalloc-secure -lgmp" | |
| CGO_CXXFLAGS: "-I/usr/local/include" | |
| run: | | |
| make test-group-${{ matrix.part }} NUM_SPLIT=6 |