🐛 fix UI error when enter_fmt_time or exit_fmt_time missing #431
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: code coverage | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
run-codecov: | |
if: github.event.pull_request.draft == false | |
runs-on: macos-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Setup the serve environment | |
shell: bash -l {0} | |
run: | | |
bash setup/setup_serve.sh | |
- name: Run Jest tests | |
shell: bash -l {0} | |
run: | | |
source setup/activate_serve.sh | |
npm run test | |
- name: Upload exact version(s) of packages used | |
uses: actions/upload-artifact@v4 | |
with: | |
name: versions-results | |
path: | | |
package-lock.json | |
./coverage/coverage-final.json | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage/coverage-final.json | |
flags: unit | |
fail_ci_if_error: ${{ github.repository == 'e-mission/e-mission-phone' }} | |