Skip to content

Fix Gradle version in Action that publishes release. #160

Fix Gradle version in Action that publishes release.

Fix Gradle version in Action that publishes release. #160

Workflow file for this run

name: Collect coverage
on:
push:
branches:
- master
jobs:
coverage:
runs-on: macos-latest
steps:
- name: Checkout code from "master"
uses: actions/checkout@v1
- name: Setup Java environment
uses: actions/setup-java@v1
with:
java-version: 14
- name: Install Python for Test Dependencies
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry for Test Dependencies
run: |
python -m pip install pip==21.1.1
pip install poetry==1.1.6
- name: Run tests
uses: eskatos/gradle-command-action@v1
with:
arguments: test jacocoTestReport --warning-mode=summary
gradle-version: "7.3"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./build/reports/jacoco/test/jacocoTestReport.xml
fail_ci_if_error: true