Skip to content

Merge pull request #33 from austinarbor/dependabot/github_actions/act… #81

Merge pull request #33 from austinarbor/dependabot/github_actions/act…

Merge pull request #33 from austinarbor/dependabot/github_actions/act… #81

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
tags:
- '*'
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: actions/setup-java@v3
name: Setup Java
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run Checks
uses: gradle/gradle-build-action@v2
with:
arguments: check
- name: Upload Test Report
uses: actions/upload-artifact@v3
if: always() # always run even if the previous step fails
with:
name: junit-test-results
path: '**/build/test-results/test/TEST-*.xml'
retention-days: 1
- name: Upload Coverage Report
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}