test: adding unit test for ServeFiles handler #24
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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configuring environment | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ^1.22.5 | |
- name: Cloning repository | |
uses: actions/checkout@v4 | |
- name: Run all nine tests | |
run: go test ./... --race -cover |