#416 Fix - Files of the same name in sub-folders will be considered a… #161
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: Test | |
on: | |
push: | |
branches: '**' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Test | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "Talisman Maintainers" | |
go test -covermode=count -coverprofile=coverage.out -v ./... | |
- name: Codecov | |
# You may pin to the exact commit or the version. | |
# uses: codecov/codecov-action@e156083f13aff6830c92fc5faa23505779fbf649 | |
uses: codecov/[email protected] | |
- name: Install bash_unit | |
run: bash <(curl -s https://raw.githubusercontent.com/pgrange/bash_unit/master/install.sh) | |
- name: Test install script | |
run: ./bash_unit test-install.sh |