Skip to content

chore(deps): bump codecov/codecov-action from 4 to 5 #920

chore(deps): bump codecov/codecov-action from 4 to 5

chore(deps): bump codecov/codecov-action from 4 to 5 #920

Workflow file for this run

name: CI for special branches
on:
push:
branches:
- '**'
- '!master'
- '!develop'
- '!snapshot-producer'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
cache: maven
- name: Prepare Maven Wrapper
run: chmod +x ./mvnw
- name: Build with Maven
run: ./mvnw clean verify -U -B -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
- name: Prepare I-Tests
run: mkdir -p target/jgiven-reports/json
- name: Run I-Tests with Maven
run: ./mvnw integration-test failsafe:verify -Pitest -B -T4
- name: Upload coverage information
uses: codecov/codecov-action@v5
with:
token: "${{ secrets.CODECOV_TOKEN }}"
- name: Upload test coverage to Codacy
if: github.event_name == 'push' && github.actor != 'dependabot[bot]'
run: bash <(curl -Ls https://coverage.codacy.com/get.sh)
env:
CODACY_PROJECT_TOKEN: "${{secrets.CODACY_PROJECT_TOKEN}}"