Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Jul 8, 2024
1 parent 4cfd7e0 commit 654fe25
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/tfrobot_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ defaults:
run:
working-directory: tfrobot
on:
schedule:
- cron: 0 4 * * *
workflow_dispatch:
push:
# schedule:
# - cron: 0 4 * * *
# workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 60
continue-on-error: true
strategy:
fail-fast: false

Expand All @@ -32,9 +34,15 @@ jobs:
- name: Test
env:
MNEMONIC: ${{ secrets.MNEMONICS }}
NETWORK: main
NETWORK: dev
# run: make integration
run: |
go run main.go deploy -c ./example/test.yaml

- name: cleanup
env:
MNEMONIC: ${{ secrets.MNEMONICS }}
NETWORK: dev
run: |
sleep 120 # sleep to make sure graphql is up to date
go run main.go cancel -c ./example/test.yaml -d

0 comments on commit 654fe25

Please sign in to comment.