Skip to content

Commit

Permalink
chore: Upgrade codecov (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan authored Sep 24, 2024
1 parent 5ddf710 commit 920c0fb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,26 @@ jobs:
with:
# Chromatic needs full Git history graph
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.12

- name: Python cache
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: actions/setup-node@v4
with:
node-version-file: "client/.nvmrc"
cache: "npm"
cache-dependency-path: "client/package-lock.json"

- name: Install dependencies
run: |
make dev-env-server build-for-server-dev
Expand All @@ -48,7 +52,17 @@ jobs:
- name: Smoke tests (without annotations feature)
run: |
cd client && CURRENT_SHARD=${{ matrix.shardIndex }} TOTAL_SHARDS=${{ matrix.shardTotal }} make smoke-test
./node_modules/codecov/bin/codecov --yml=../.codecov.yml --root=../ --gcov-root=../ -C -F frontend,javascript,smokeTest
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
with:
root_dir: ../
flags: frontend,javascript,smokeTest
verbose: true
commit_parent: false
directory: client/
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload Chromatic artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .infra/rdev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ stack:
services:
explorer:
image:
tag: sha-7d92494d
tag: sha-3adb7375
replicaCount: 1
env:
# env vars common to all deployment stages
Expand Down
2 changes: 1 addition & 1 deletion client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
"chromatic-playwright": "^0.4.1",
"clean-css": "^5.1.2",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"codecov": "^3.7.1",
"codecov": "^3.8.3",
"copy-webpack-plugin": "^9.0.1",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^4.0.0",
Expand Down

0 comments on commit 920c0fb

Please sign in to comment.