Skip to content

Add pythagorean-triplet exercise (#263) #333

Add pythagorean-triplet exercise (#263)

Add pythagorean-triplet exercise (#263) #333

name: Exercise tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- windows-2022
- macOS-12
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
with:
java-version: 17
distribution: temurin
- name: Test exercises
run: ./bin/test test-all