Skip to content

Update Codewars README license and links #84

Update Codewars README license and links

Update Codewars README license and links #84

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "master" ]
pull_request:
branches: [ "main", "master" ]
jobs:
category-tests:
name: Test (${{ matrix.category }})
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
- category: smoke
groups: smoke
- category: integration
groups: integration
- category: property
groups: property
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: maven
- name: Run categorized tests
run: mvn -B test --file pom.xml -Dgroups='${{ matrix.groups }}'
verify:
name: Maven Verify (JDK ${{ matrix.java }})
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
java: [ '17', '21' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Build and test
run: mvn -B verify --file pom.xml
- name: Upload Surefire reports
if: matrix.java == '21'
uses: actions/upload-artifact@v4
with:
name: surefire-reports-${{ matrix.java }}
path: target/surefire-reports
- name: Upload JaCoCo report
if: matrix.java == '21'
uses: actions/upload-artifact@v4
with:
name: jacoco-report-${{ matrix.java }}
path: target/site/jacoco
if-no-files-found: warn
- name: Upload coverage to Codecov
if: matrix.java == '21'
uses: codecov/codecov-action@v5
with:
files: target/site/jacoco/jacoco.xml
fail_ci_if_error: false
verbose: true