Skip to content

Commit

Permalink
Add workflow for membership checker unit tests (GoogleCloudPlatform#8760
Browse files Browse the repository at this point in the history
)

* Add workflow for membership checker unit tests

* Apply suggestions from code review

Co-authored-by: Scott Suarez <ScottSuarez@google.com>

---------

Co-authored-by: Scott Suarez <ScottSuarez@google.com>
  • Loading branch information
2 people authored and nevzheng committed Aug 28, 2023
1 parent 37c7843 commit d7154ba
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/membership-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: membership-checker

permissions: read-all

on:
pull_request:
paths:
- '.ci/containers/membership-checker/**'

jobs:
build-and-unit-tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.19.1'
- name: Run membership checker unit tests
run: |
cd .ci/containers/membership-checker
go test -v

0 comments on commit d7154ba

Please sign in to comment.