Skip to content

Commit

Permalink
ci: update step for tests with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Feb 13, 2022
1 parent c4fbde6 commit 40aec68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/ci-helpers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ defaults:

env:
CI_SKIP: false
COVERAGE: false
GITHUB_COMMIT_MESSAGE: ''
IS_UBUNTU: false
NODE_VERSION: v0.0.0
Expand Down Expand Up @@ -101,19 +100,7 @@ jobs:
- name: Test with coverage
if: env.CI_SKIP == 'false' && env.IS_UBUNTU != 'false'
run: |
echo "COVERAGE=true" >> $GITHUB_ENV
echo $COVERAGE;
echo $GITHUB_ENV;
echo ${{ env.COVERAGE }}
env;
export COVERAGE=true;
echo $COVERAGE;
echo $GITHUB_ENV;
echo ${{ env.COVERAGE }}
env;
export COVERAGE=true
npm run test:helpers
- name: Upload coverage to codecov
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ defaults:

env:
CI_SKIP: false
COVERAGE: false
GITHUB_COMMIT_MESSAGE: ''
IS_UBUNTU: false
NODE_VERSION: v0.0.0
Expand Down Expand Up @@ -107,7 +106,7 @@ jobs:
- name: Test with coverage
if: env.CI_SKIP == 'false' && env.IS_UBUNTU != 'false'
run: |
echo "COVERAGE=true" >> $GITHUB_ENV
export COVERAGE=true
npm run test:elements
- name: Upload coverage to codecov
Expand Down

0 comments on commit 40aec68

Please sign in to comment.