Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb committed May 13, 2024
1 parent e77a7cb commit 64a3330
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/containers-pull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ jobs:
- name: Test
run: |
#!/bin/sh
if [ -n "$CI" ]; then
snapshot_mode="assert"
else
snapshot_mode="update"
fi
DEBUG=1 wing test
wing test -t tf-aws -s assert containers.test.w
wing test -t tf-aws -s $snapshot_mode containers.test.w
wing test -t tf-aws -s $snapshot_mode containers-with-readiness.test.w
working-directory: containers
- name: Pack
run: wing pack
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/containers-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,15 @@ jobs:
- name: Test
run: |
#!/bin/sh
if [ -n "$CI" ]; then
snapshot_mode="assert"
else
snapshot_mode="update"
fi
DEBUG=1 wing test
wing test -t tf-aws -s assert containers.test.w
wing test -t tf-aws -s $snapshot_mode containers.test.w
wing test -t tf-aws -s $snapshot_mode containers-with-readiness.test.w
working-directory: containers
- name: Pack
run: wing pack
Expand Down

0 comments on commit 64a3330

Please sign in to comment.