Skip to content

Commit

Permalink
run all tests in one workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ivvist committed Dec 1, 2024
1 parent 3deb68d commit baac5bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci_reuse_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ on:
ignore_build:
required: false
type: string
test_subfolders:
required: false
type: string
secrets:
reporeading_token:
required: true
Expand Down Expand Up @@ -73,6 +76,12 @@ jobs:
codecov-go-race: ${{ inputs.go_race }}
run-mod-tidy: false

- name: Test subfolders
if: ${{ inputs.test_subfolders == 'true' }}
run: |
git config --global url."https://${{ secrets.reporeading_token }}:[email protected]".insteadOf "https://github.com"
curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/test_subfolders.sh | bash
- name: Check copyright
run: curl -s https://raw.githubusercontent.com/untillpro/ci-action/master/scripts/check_copyright.sh | bash -s "$(go env GOPATH)"

Expand Down

0 comments on commit baac5bc

Please sign in to comment.