diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 0ce9ef3500..0000000000 --- a/.codecov.yml +++ /dev/null @@ -1,25 +0,0 @@ -ignore: - - "eq-author/src/storybook" - -coverage: - status: - project: - author: - flags: author - api: - flags: api - publisher: - flags: publisher - -flags: - author: - paths: - - eq-author/ - api: - paths: - - eq-author-api/ - publisher: - paths: - - eq-publisher/ - -comment: off diff --git a/.github/workflows/apiPullRequest.yml b/.github/workflows/apiPullRequest.yml index b4d4090918..de92bc5107 100644 --- a/.github/workflows/apiPullRequest.yml +++ b/.github/workflows/apiPullRequest.yml @@ -27,14 +27,6 @@ jobs: NODE_ENV: "test" PUBLIC_URL: "test" CI: true - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./eq-author-api/coverage/coverage-final.json - flags: API - name: API - fail_ci_if_error: true Build: if: contains( github.event.pull_request.labels.*.name, 'dependencies') != true diff --git a/.github/workflows/authorPullRequest.yml b/.github/workflows/authorPullRequest.yml index ab63d436f6..56a28fa5c0 100644 --- a/.github/workflows/authorPullRequest.yml +++ b/.github/workflows/authorPullRequest.yml @@ -27,14 +27,6 @@ jobs: NODE_ENV: "test" PUBLIC_URL: "test" CI: true - - name: Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./eq-author/coverage/coverage-final.json - flags: Frontend - name: Frontend - fail_ci_if_error: true Build: if: contains( github.event.pull_request.labels.*.name, 'dependencies') != true diff --git a/.github/workflows/publisherPullRequest.yml b/.github/workflows/publisherPullRequest.yml index c45f60f364..f52c1f9e06 100644 --- a/.github/workflows/publisherPullRequest.yml +++ b/.github/workflows/publisherPullRequest.yml @@ -27,14 +27,6 @@ jobs: NODE_ENV: "test" PUBLIC_URL: "test" CI: true - - name: Upload coverage file to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./eq-publisher/coverage/coverage-final.json - flags: Publisher - name: Publisher - fail_ci_if_error: true Build: if: contains( github.event.pull_request.labels.*.name, 'dependencies') != true diff --git a/README.md b/README.md index 0e5a6c0f00..d1d4cefa1a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ ![API](https://github.com/ONSdigital/eq-author-app/workflows/API%20Pull%20Request/badge.svg) ![Author](https://github.com/ONSdigital/eq-author-app/workflows/Author%20Pull%20Request/badge.svg) -[![codecov](https://codecov.io/gh/ONSdigital/eq-author-app/branch/master/graph/badge.svg)](https://codecov.io/gh/ONSdigital/eq-author-app) [![Codacy](https://api.codacy.com/project/badge/Grade/f9cbc9e5c531436ca73ee0769a766678)](https://www.codacy.com/app/ONSDigital/eq-author-app) ![Snyk](https://img.shields.io/snyk/vulnerabilities/github/ONSDigital/eq-author-app.svg) diff --git a/eq-author-api/scripts/ci.sh b/eq-author-api/scripts/ci.sh index 9f59e9f123..5c82db4262 100755 --- a/eq-author-api/scripts/ci.sh +++ b/eq-author-api/scripts/ci.sh @@ -4,7 +4,6 @@ set -e yarn install --frozen-lockfile yarn lint --max-warnings=0 yarn test --coverage -bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION -c -F api yarn test:breakingChanges docker build -t onsdigital/eq-author-api:$TAG --build-arg APPLICATION_VERSION=$(git rev-parse HEAD) -f Dockerfile . \ No newline at end of file diff --git a/eq-author/scripts/ci.sh b/eq-author/scripts/ci.sh index 5eb74e016b..d3fabce957 100755 --- a/eq-author/scripts/ci.sh +++ b/eq-author/scripts/ci.sh @@ -4,6 +4,5 @@ set -e yarn install --frozen-lockfile yarn lint yarn test --coverage -bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION -c -F author REACT_APP_EQ_AUTHOR_VERSION=$(git rev-parse HEAD) yarn build docker build -t onsdigital/eq-author:$TAG . diff --git a/eq-publisher/scripts/ci.sh b/eq-publisher/scripts/ci.sh index 4af93e40ca..1ba137226a 100755 --- a/eq-publisher/scripts/ci.sh +++ b/eq-publisher/scripts/ci.sh @@ -4,5 +4,4 @@ set -e yarn install --frozen-lockfile yarn lint yarn test --coverage -bash <(curl -s https://codecov.io/bash) -e TRAVIS_NODE_VERSION -c -F publisher docker build -t onsdigital/eq-publisher:$TAG --build-arg APPLICATION_VERSION=$(git rev-parse HEAD) -f Dockerfile . \ No newline at end of file