Skip to content

Commit

Permalink
run shim test in acceptance test CI workflow
Browse files Browse the repository at this point in the history
This runs as its own job rather than as part of the language matrix,
because it only needs to be done once.

Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
  • Loading branch information
squaremo committed Mar 8, 2023
1 parent 1c8f9ad commit ef70781
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,22 @@ jobs:
steps:
- name: Is workflow a success
run: echo yes

go_test:
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository
name: Run go tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
ref: ${{ env.PR_COMMIT_SHA }}
submodules: true
- run: |
cd provider/shim
go test -v .
test:
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository
Expand Down

0 comments on commit ef70781

Please sign in to comment.