Skip to content

Commit

Permalink
Merge pull request #8013 from cfpb/remove-coverage
Browse files Browse the repository at this point in the history
Remove frontend coverage action
  • Loading branch information
wpears authored Nov 21, 2023
2 parents 43a5a64 + b4f1ae9 commit c875cad
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
- name: Test Javascript
run: yarn run test

- name: Store test coverage
uses: actions/upload-artifact@v3
with:
name: frontend_coverage
path: ./test/unit_test_coverage/clover.xml

- name: Build Javascript
run: yarn build

Expand All @@ -42,33 +36,3 @@ jobs:
with:
name: frontend_${{ github.sha }}
path: frontend.zip

coverage:
runs-on: ubuntu-latest
needs:
- frontend

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/ci.txt
- name: Retrieve frontend coverage
uses: actions/download-artifact@v3
with:
name: frontend_coverage
path: frontend_coverage

- name: Check frontend test coverage
run: |
diff-cover frontend_coverage/clover.xml --compare-branch=origin/main --fail-under=100

0 comments on commit c875cad

Please sign in to comment.