Skip to content

Commit

Permalink
use same version as master for test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Jul 31, 2024
1 parent 240b53f commit 46989f9
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version-file: '.nvmrc'

- name: Install packages
run: yarn install:ci
Expand All @@ -195,39 +195,40 @@ jobs:

- name: Run tests
uses: ./.github/actions/lint
coverage:
runs-on: ubuntu-latest
needs:
- unit-test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1

- uses: actions/setup-node@v3
with:
node-version: '16.x'
# coverage:
# runs-on: ubuntu-latest
# needs:
# - unit-test
# steps:
# - uses: actions/checkout@v3
# with:
# fetch-depth: 1

- name: Download Coverage Artifacts
uses: actions/download-artifact@v3
with:
name: ${{github.run_number}}-${{github.run_attempt}}-coverage
# - uses: actions/setup-node@v4
# with:
# node-version-file: '.nvmrc'

# - name: Download Coverage Artifacts
# uses: actions/download-artifact@v3
# with:
# name: ${{github.run_number}}-${{github.run_attempt}}-coverage

- name: Install Codecov CLI
run : .github/workflows/scripts/install-codecov.sh
# - name: Install Codecov CLI
# run : .github/workflows/scripts/install-codecov.sh

- name: Upload tests coverage report to Codecov
run: ./codecov --verbose upload-process -t ${{ secrets.CODECOV_TOKEN }} -n ${{github.run_number}}-${{github.run_attempt}}-coverage -F unit -f ./coverage/coverage-unit.json
# - name: Upload tests coverage report to Codecov
# run: ./codecov --verbose upload-process -t ${{ secrets.CODECOV_TOKEN }} -n ${{github.run_number}}-${{github.run_attempt}}-coverage -F unit -f ./coverage/coverage-unit.json

check-e2e-tags:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version-file: '.nvmrc'
- name: Check e2e tags
run: |
./scripts/check-e2e-tests-for-tags
./scripts/check-e2e-tests-for-tags

0 comments on commit 46989f9

Please sign in to comment.