Skip to content

Commit

Permalink
Arg wasn't in the env
Browse files Browse the repository at this point in the history
  • Loading branch information
dantecatalfamo committed Jan 8, 2025
1 parent 33223eb commit 7f768c7
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/test-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,20 @@ jobs:
- name: Run Go Tests
run: |
if [[ "${{ matrix.suite }}" == "core" ]]; then
CI_TEST_PKG=main RUN_TESTS_ARG='-skip=^TestIntegrations'
CI_TEST_PKG=main
RUN_TESTS_ARG='-skip=^TestIntegrations'
elif [[ "${{ matrix.suite }}" == "integration" ]]; then
CI_TEST_PKG=main RUN_TESTS_ARG='-run=^TestIntegrations'
CI_TEST_PKG=main
RUN_TESTS_ARG='-run=^TestIntegrations'
elif [[ "${{ matrix.suite }}" == "fleetctl" ]]; then
CI_TEST_PKG=fleetctl RUN_TESTS_ARG=''
CI_TEST_PKG=fleetctl
RUN_TESTS_ARG=''
elif [[ "${{ matrix.suite }}" == "migration" ]]; then
CI_TEST_PKG=migration RUN_TESTS_ARG=''
CI_TEST_PKG=migration
RUN_TESTS_ARG=''
elif [[ "${{ matrix.suite }}" == "vuln" ]]; then
CI_TEST_PKG=vuln RUN_TESTS_ARG=''
CI_TEST_PKG=vuln
RUN_TESTS_ARG=''
fi
GO_TEST_EXTRA_FLAGS="-v -race=$RACE_ENABLED -timeout=$GO_TEST_TIMEOUT $RUN_TESTS_ARG" \
TEST_LOCK_FILE_PATH=$(pwd)/lock \
Expand All @@ -139,6 +144,7 @@ jobs:
SAML_IDP_TEST=1 \
MAIL_TEST=1 \
NETWORK_TEST_GITHUB_TOKEN=${{ secrets.FLEET_RELEASE_GITHUB_PAT }} \
CI_TEST_PKG="$(CI_TEST_PKG)" \
make test-go 2>&1 | tee /tmp/gotest.log
- name: Create mysql identifier without colon
Expand Down

0 comments on commit 7f768c7

Please sign in to comment.