Skip to content

Commit

Permalink
run start-services
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Sep 13, 2024
1 parent 0192354 commit 0a500e8
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
outputs:
success: ${{ steps.run_e2e_stack.outcome == 'success' }}
steps:
- name: Set build directory environment variable
run: echo "OUTPUT_DIR=${GITHUB_WORKSPACE}/tmp" >> $GITHUB_ENV
- name: Set log directory environment variable
run: echo "LOG_DIR=${GITHUB_WORKSPACE}/log-tmp" >> $GITHUB_ENV
- name: Create directories
run: mkdir -p $OUTPUT_DIR && mkdir -p $LOG_DIR
- uses: actions/checkout@v2
with:
repository: snowfork/snowbridge
Expand All @@ -39,6 +33,12 @@ jobs:
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set build directory environment variable
run: echo "OUTPUT_DIR=${GITHUB_WORKSPACE}/tmp" >> $GITHUB_ENV
- name: Set log directory environment variable
run: echo "LOG_DIR=${GITHUB_WORKSPACE}/log-tmp" >> $GITHUB_ENV
- name: Create directories
run: mkdir -p $OUTPUT_DIR && mkdir -p $LOG_DIR
- uses: actions/cache@v1
with:
path: |
Expand All @@ -56,10 +56,7 @@ jobs:
nix develop -c sh -c '
./scripts/init-smoketests.sh &&
cd web/packages/test &&
(./scripts/start-services.sh > "${{ env.LOG_DIR }}/start-services.log" 2>&1 &) &&
sleep 10 &&
./scripts/check-relayer.sh &&
./scripts/run-smoketests.sh'
./scripts/start-services.sh'
continue-on-error: true
- name: Save start-services log file
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 0a500e8

Please sign in to comment.