Skip to content

docs: mention the execution bit #75

docs: mention the execution bit

docs: mention the execution bit #75

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Build
run: make
- name: Test
run: make test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Fetch git history and tags (for fixtures)
run: git fetch --tags origin main
- name: Set up Go
uses: actions/setup-go@v4
with:
# Integration testing with coverage requires >=1.20
go-version: ">=1.20"
- name: Build
run: make
- name: Test
run: make test
- name: Generate coverage report
run: make coverage
- name: Generate integration tests coverage report
run: make coverage-acceptance
- name: Upload unit tests coverage report
uses: codecov/codecov-action@v3
with:
file: ./coverage-unit.txt
flags: unittests
- name: Upload integration tests coverage report
uses: codecov/codecov-action@v3
with:
file: ./coverage-integration.txt
flags: integration