name: CIT gRPC And Badger

on:
  push:
    branches: [main]

  pull_request:
    branches: [main]

jobs:
  grpc-and-badger:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2.4.0

    - uses: actions/setup-go@v2
      with:
        go-version: ^1.17

    - name: Run Badger storage integration tests
      run: make badger-storage-integration-test

    - name: Run gRPC storage integration tests
      run: make grpc-storage-integration-test

# TODO add code coverage reporting
