Skip to content

Commit

Permalink
Add PR workflow to run unit tests via github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
MirahImage committed Mar 15, 2021
1 parent 92c8e73 commit 518225b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR

on:
pull_request:
branches: [ main ]

jobs:

unit_tests:
name: unit tests
runs-on: ubuntu-latest
container: us.gcr.io/cf-rabbitmq-for-k8s-bunny/rabbitmq-for-kubernetes-ci
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Unit tests
run: make unit-tests

0 comments on commit 518225b

Please sign in to comment.