⚡️ Added validation to avoid enqueue an already running criteria. Add… #33
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 and coverage | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.3' | |
- name: Run coverage | |
run: go test ./... -coverpkg=./... -count=1 -race -timeout=30m -shuffle=on -coverprofile=coverage.out -covermode=atomic | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: lhbelfanti/ahbcc |