Skip to content

Bump coverallsapp/github-action from 2.3.7 to 2.3.8 #519

Bump coverallsapp/github-action from 2.3.7 to 2.3.8

Bump coverallsapp/github-action from 2.3.7 to 2.3.8 #519

Workflow file for this run

name: Java CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
unit_tests:
name: Unit tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Set up JDK
uses: actions/setup-java@1bcf9fb12cf4aa7d266a90ae39939e61372fe520
with:
java-version: "21"
distribution: "temurin"
- name: Test with Gradle
run: ./gradlew --no-daemon --continue test
- name: Upload test coverage
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329
- name: Create test summary
uses: test-summary/action@37b508cfee6d4d080eedd00b5bb240a6a784a6a5
with:
paths: "**/build/test-results/test/*.xml"
if: always()
smoke_tests:
name: Smoke tests
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5
with:
install: true
- name: Build Docker image and store in cache
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf
with:
context: .
push: false
load: true
tags: exercism/java-representer
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests in Docker
run: bin/run-tests-in-docker.sh