Fix setting of envs for schedule (#4205)

* Attempt to fix setting of env for schedule

* Revert logic after testing
This commit is contained in:
Lucas Manuel Rodriguez 2022-02-15 09:26:28 -03:00 committed by GitHub
parent afa63805c8
commit d8b8794d51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: |