Skip to content

chore(master): release 0.18.0 #781

chore(master): release 0.18.0

chore(master): release 0.18.0 #781

Workflow file for this run

---
name: Build and test
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master
push:
branches:
- master
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
env:
INDYKITE_APPLICATION_CREDENTIALS: ${{ secrets.APP_AGENT_CREDENTIALS }}
INDYKITE_SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.SERVICE_ACCOUNT_CREDENTIALS }}
TENANT_ID: ${{ secrets.TENANT_ID }}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run Unit tests.
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
# Notify us when failed, so devs are not waiting for Codecov report when it will never come.
# Because Codecov report is required to be able to merge, we have to run again the whole test anyway.
fail_ci_if_error: true