mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Fix setting of envs for schedule (#4205)
* Attempt to fix setting of env for schedule * Revert logic after testing
This commit is contained in:
parent
afa63805c8
commit
d8b8794d51
1 changed files with 3 additions and 4 deletions
7
.github/workflows/test-go.yaml
vendored
7
.github/workflows/test-go.yaml
vendored
|
|
@ -52,10 +52,9 @@ jobs:
|
|||
|
||||
- name: Set Go race setting on schedule
|
||||
if: github.event.schedule == '0 4 * * *'
|
||||
run: echo "Running go tests with race enabled"
|
||||
env:
|
||||
RACE_ENABLED: true
|
||||
GO_TEST_TIMEOUT: 1h
|
||||
run: |
|
||||
echo "RACE_ENABLED=true" >> $GITHUB_ENV
|
||||
echo "GO_TEST_TIMEOUT=1h" >> $GITHUB_ENV
|
||||
|
||||
- name: Run Go Tests
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue