-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing is not triggering like it should
- Loading branch information
Showing
1 changed file
with
32 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: testing | |
on: | ||
pull_request: | ||
push: | ||
tags-ignore: "*" | ||
tags-ignore: "*" | ||
|
||
jobs: | ||
testing: | ||
|
@@ -27,36 +27,36 @@ jobs: | |
- name: Run tests | ||
run: go test -coverprofile=unit.coverage.out ./... | ||
# Uncomment for uploading when setup | ||
# - name: Upload results to Codecov | ||
# uses: codecov/codecov-action@v4 | ||
# with: | ||
# files: ./unit.coverage.out | ||
# fail_ci_if_error: false | ||
# flags: unittests | ||
# name: codecov-umbrella | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# verbose: true | ||
# - name: Upload results to Codecov | ||
# uses: codecov/codecov-action@v4 | ||
# with: | ||
# files: ./unit.coverage.out | ||
# fail_ci_if_error: false | ||
# flags: unittests | ||
# name: codecov-umbrella | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# verbose: true | ||
|
||
# - name: Upload coverage report | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: coverage-report | ||
# path: unit.coverage.out | ||
# - name: Upload coverage report | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: coverage-report | ||
# path: unit.coverage.out | ||
|
||
# codacy-coverage-reporter: | ||
# needs: testing | ||
# runs-on: ubuntu-latest | ||
# name: codacy-coverage-reporter | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Download coverage report | ||
# uses: actions/download-artifact@v2 | ||
# with: | ||
# name: coverage-report | ||
# - name: Run codacy-coverage-reporter | ||
# uses: codacy/[email protected] | ||
# with: | ||
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
# coverage-reports: unit.coverage.out | ||
# force-coverage-parser: go | ||
|
||
# codacy-coverage-reporter: | ||
# needs: testing | ||
# runs-on: ubuntu-latest | ||
# name: codacy-coverage-reporter | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Download coverage report | ||
# uses: actions/download-artifact@v2 | ||
# with: | ||
# name: coverage-report | ||
# - name: Run codacy-coverage-reporter | ||
# uses: codacy/[email protected] | ||
# with: | ||
# project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
# coverage-reports: unit.coverage.out | ||
# force-coverage-parser: go | ||
|