Skip to content

Commit

Permalink
debug done; saving TEST_CATEGORY
Browse files Browse the repository at this point in the history
  • Loading branch information
gomisha committed Aug 9, 2023
1 parent 5321bcf commit 825b80a
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/test-monitor-regular-skipped.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ jobs:

unit-test:
name: Unit Tests (${{ matrix.targets.name }})
env:
TEST_CATEGORY: unit
needs: create-dynamic-test-matrix
strategy:
fail-fast: false
Expand All @@ -74,6 +72,8 @@ jobs:
# test run should continue even if there are failed tests
continue-on-error: true
- name: Process test results
env:
TEST_CATEGORY: unit
uses: ./.github/workflows/actions/test-monitor-process-results
with:
gcp_sa_key: ${{ secrets.GCP_SA_KEY }}
Expand All @@ -89,16 +89,16 @@ jobs:
make2: unittest
race: 1
test_category: unit-crypto
# - name: insecure
# make1: install-tools
# make2: test
# race: 0
# test_category: unit-insecure
# - name: integration
# make1: install-tools
# make2: test
# race: 0
# test_category: unit-integration
- name: insecure
make1: install-tools
make2: test
race: 0
test_category: unit-insecure
- name: integration
make1: install-tools
make2: test
race: 0
test_category: unit-integration
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -122,9 +122,6 @@ jobs:
uses: ./.github/workflows/actions/test-monitor-process-results
with:
gcp_sa_key: ${{ secrets.GCP_SA_KEY }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: success() || failure()

integration-test:
name: Integration Tests
Expand Down Expand Up @@ -171,10 +168,7 @@ jobs:
run: make crypto_setup_gopath
- name: Docker build
run: make docker-build-flow docker-build-flow-corrupt

- name: Run tests
env:
TEST_CATEGORY: ${{ matrix.test_category }}
run: make -es -C integration ${{ matrix.target }} > test-output
timeout-minutes: 100
continue-on-error: true
Expand Down

0 comments on commit 825b80a

Please sign in to comment.