Skip to content

Remove name from backend-tests job in #62

Remove name from backend-tests job in

Remove name from backend-tests job in #62

Workflow file for this run

name: Backend Tests
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
backend-tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: ./back/go.mod
cache: true
cache-dependency-path: ./back/go.sum
- name: Build
working-directory: ./back
run: go build -v ./...
- name: Test
working-directory: ./back
run: |
( go test -cover ./... -coverprofile="cover.out" )
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: cover.out
fail_ci_if_error: true
verbose: true