Skip to content

Feat: Add authentication for the test report page #41

Feat: Add authentication for the test report page

Feat: Add authentication for the test report page #41

Workflow file for this run

name: Unit-Test
on:
workflow_dispatch: { }
pull_request:
branches:
- main
jobs:
unit-tests:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Check out code
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Install ginkgo
run: |
go install github.com/onsi/ginkgo/v2/ginkgo
- name: Run Make test
run: make test
- name: Publish coverage # Pass the `coverage.out` output to this action
uses: codecov/codecov-action@v4.3.0
with:
file: profile.cov
token: ${{ secrets.CODECOV_TOKEN }}