Skip to content

Commit ea1d6a8

Browse files
committed
chore: enable codecov execution
1 parent 7455a31 commit ea1d6a8

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
NPM_CONFIG_UNSAFE_PERM: true
1818
NODE_OPTIONS: --max-old-space-size=4096
1919
steps:
20-
- name: Echo label & sha
21-
run: |
22-
echo "${{ github.event.pull_request.head.label }}"
23-
echo "${{ github.event.pull_request.head.sha }}"
2420
- name: Checkout
2521
uses: actions/checkout@v5
2622
with:

scripts/codecov-upload-flags.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ chmodSync(codecovPath, 0o555);
7777
// Compute the commands to run
7878
for (const pkg of pkgsWithFlag) {
7979
if (existsSync(pkg.report)) {
80-
console.log(`Uploading report of ${pkg.name} with flag ${pkg.flag}`);
80+
console.log(`CODECOV: Uploading report of "${pkg.name}" with flag "${pkg.flag}"\n\n`);
8181
const command = pkg.command.replace('<sha>', 'Oxffff').replace('<branch>', 'my-branch');
82-
// execCmd(command, {cwd: TOP, encoding: 'utf-8'});
83-
console.log(command)
82+
execCmd(command, {cwd: TOP, encoding: 'utf-8'});
8483
}
8584
}

0 commit comments

Comments
 (0)