chore: update codecov/codecov-action action to v5.0.1 #4151
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- name: Run tests | |
run: npx nx run-many --target test --all --coverage | |
- name: Archive coverage artifacts | |
uses: actions/[email protected] | |
with: | |
name: coverage-${{ github.workflow }}-${{ github.run_id }} | |
path: coverage | |
codecov: | |
name: Collect coverage | |
needs: [tests] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
name: coverage-${{ github.workflow }}-${{ github.run_id }} | |
path: coverage | |
- name: Display structure of coverage files | |
run: tree -L 2 ./coverage -P 'lcov.info' | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/core/ | |
flags: summary,core | |
name: core | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/kit/ | |
flags: summary,kit | |
name: kit | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/phone/ | |
flags: summary,phone | |
name: phone | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/angular/ | |
flags: summary,angular | |
name: angular | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/react/ | |
flags: summary,react | |
name: react | |
- uses: codecov/[email protected] | |
with: | |
directory: ./coverage/vue/ | |
flags: summary,vue | |
name: vue | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |