Skip to content

Bump codecov/codecov-action from 3 to 4 in /.github/workflows #3

Bump codecov/codecov-action from 3 to 4 in /.github/workflows

Bump codecov/codecov-action from 3 to 4 in /.github/workflows #3

Workflow file for this run

name: KBase Java Test utilities tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
# run workflow when merging to main / master / develop
branches:
- main
- develop
jobs:
java_test_utilities_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- java: '8'
- java: '11'
steps:
- uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
- name: Run tests
run: |
./gradlew test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true