1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

ci: only run -race -cover on Ubuntu

The coverage information isn't used anywhere in the CI, so no need to have it
for every OS. As for `-race`, there is no point in using it everywhere, one
time should be enough, especially since it's taking a lot of time on Windows.
This commit is contained in:
Julien Voisin 2024-12-23 19:45:45 +00:00 committed by GitHub
parent b93543f416
commit f52411f734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,8 +23,12 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout
uses: actions/checkout@v4
- name: Run unit tests
- name: Run unit tests with coverage and race conditions checking
if: matrix.os == 'ubuntu-latest'
run: make test
- name: Run unit tests without coverage and race conditions checking
if: matrix.os != 'ubuntu-latest'
run: go test -count=1 ./...
integration-tests:
name: Integration Tests