Skip to content

Commit

Permalink
test to compare compose_race vs compose
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Sep 20, 2023
1 parent 8331cc5 commit 144c748
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ jobs:
LOG_PANIC_ON_INVALIDCHARS: true # check that log lines contains no invalid chars (evidence of format mismatch)
GOCOVERDIR: "./gocoverage/" # collect code coverage when running binaries
CONCURRENT: 1 # run all the start_test.sh tests concurrently
BUILDARGS: "-race" # note that -race can easily make the crypto stuff 10x slower
run: |
cd dockerfiles/testsuite && ./start_test.sh
- name: Store code coverage artifact
Expand All @@ -122,6 +121,29 @@ jobs:
name: integration-covdata
path: dockerfiles/testsuite/gocoverage/covdata.txt

job_compose_race_test:
runs-on: [self-hosted, ci2-1]
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Run compose script
env:
TESTSUITE_BUILD_TAG: ${{ github.sha }}
COMPOSE_PROJECT_NAME: testsuite_${{ github.run_id }} # unique name for docker-compose (needed for concurrent job runs)
COMPOSE_DVOTE_PORT_MAPPING: "9090" # this binds gateway0 to a random available port on docker host (needed for concurrent job runs)
COMPOSE_HOST_PATH: ${{ github.workspace }}/dockerfiles/testsuite
LOG_PANIC_ON_INVALIDCHARS: true # check that log lines contains no invalid chars (evidence of format mismatch)
GOCOVERDIR: "./gocoverage/" # collect code coverage when running binaries
CONCURRENT: 1 # run all the start_test.sh tests concurrently
BUILDARGS: "-race" # note that -race can easily make the crypto stuff 10x slower
run: |
cd dockerfiles/testsuite && ./start_test.sh
- name: Store code coverage artifact
uses: actions/upload-artifact@v3
with:
name: integration-covdata-race
path: dockerfiles/testsuite/gocoverage/covdata.txt

job_go_build_for_mac:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release')
Expand Down

0 comments on commit 144c748

Please sign in to comment.