Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the official Codecov action for CI #10344

Merged
merged 10 commits into from
Feb 14, 2023
14 changes: 0 additions & 14 deletions .github/upload_coverage.sh

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/ci_accountability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-accountability
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -74,8 +75,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-admin
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -65,8 +66,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_admin_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-admin
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -69,8 +70,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-api
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -66,8 +67,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_assemblies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-assemblies
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -69,8 +70,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_blogs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-blogs
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -72,8 +73,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_budgets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-budgets
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -71,8 +72,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-comments
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -69,8 +70,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_conferences.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-conferences
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -70,8 +71,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_consultations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-consultations
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -70,8 +71,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_core_lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-core
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -65,8 +66,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-core-lib
flags: decidim-core-lib
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_core_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
DECIDIM_MODULE: decidim-core
PARALLEL_TEST_PROCESSORS: 2
DECIDIM_SERVICE_WORKER_ENABLED: true
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -72,8 +73,12 @@ jobs:
env:
SIMPLECOV: "true"
DISPLAY: ":99"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-core-system
flags: decidim-core-system
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_core_system_ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
PARALLEL_TEST_PROCESSORS: 2
DECIDIM_SERVICE_WORKER_ENABLED: true
TEST_SSL: true
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -72,8 +73,12 @@ jobs:
env:
SIMPLECOV: "true"
DISPLAY: ":99"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-core-system-ssl
flags: decidim-core-system-ssl
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_core_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-core
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -64,8 +65,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_debates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-debates
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -70,8 +71,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_dev_system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-dev
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -63,8 +64,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh $DECIDIM_MODULE $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: ${{ env.DECIDIM_MODULE }}
flags: ${{ env.DECIDIM_MODULE }}
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci_elections_system_admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ env:
NODE_VERSION: 16.9.1
DECIDIM_MODULE: decidim-elections
PARALLEL_TEST_PROCESSORS: 2
CODECOV_TOKEN: bc15b944-6b42-420a-b3f9-a5a8fb214326

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -84,8 +85,12 @@ jobs:
working-directory: ${{ env.DECIDIM_MODULE }}
env:
SIMPLECOV: "true"
- run: ./.github/upload_coverage.sh decidim-elections-system-admin $GITHUB_EVENT_PATH
- uses: codecov/codecov-action@v3
name: Upload coverage
with:
token: ${{ env.CODECOV_TOKEN }}
name: decidim-elections-system-admin
flags: decidim-elections-system-admin
- uses: actions/upload-artifact@v2
if: always()
with:
Expand Down