mirror of
https://github.com/gofiber/fiber.git
synced 2026-03-26 17:48:16 +00:00
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](671740ac38...1af58845a9)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.5.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
name: Test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- "**/*.md"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**/*.md"
|
|
|
|
jobs:
|
|
unit:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.25.x, 1.26.x]
|
|
platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
steps:
|
|
- name: Fetch Repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Test
|
|
run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=1 -coverprofile=coverage.txt -covermode=atomic -shuffle=on
|
|
|
|
- name: Upload coverage reports to Codecov
|
|
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.25.x' }}
|
|
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
flags: unittests
|
|
slug: gofiber/fiber
|
|
verbose: true
|
|
|
|
repeated:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch Repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
|
with:
|
|
go-version: stable
|
|
|
|
- name: Test
|
|
run: go run gotest.tools/gotestsum@latest -f testname -- ./... -race -count=15 -shuffle=on
|