chore: Remove git-remote flag #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Unit Test Coverage | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
coverage_guard: ${{ github.workspace }}/scripts/coverage-metrics/bin/utils/unit-test-coverage/coverage_guard.py | |
pip_requirements: ${{ github.workspace }}/scripts/coverage-metrics/bin/utils/unit-test-coverage/requirements.txt | |
jobs: | |
verify-unit-test-coverage: | |
name: Verify Unit Test Coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out reporting tools | |
uses: actions/checkout@v4 | |
with: | |
repository: kyma-project/qa-toolkit | |
path: scripts | |
- name: Adjust the reporting tools | |
run: | | |
chmod a+x $coverage_guard | |
python -m pip install --upgrade pip | |
pip install -r $pip_requirements | |
- name: Check out the sourcecode | |
uses: actions/checkout@v4 | |
with: | |
path: codebase | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ${{ github.workspace }}/codebase/go.mod | |
- name: Run the quality gate verification | |
run: | | |
$coverage_guard --repo ${{ github.workspace }}/codebase --module github.com/kyma-project/modulectl --config unit-test-coverage.yaml |