chore: add cname config #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Algorithms Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java-version: [1.8] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v2 | |
- name: Set up jdk | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java-version }} | |
- name: JUnit5 tests on ubuntu | |
if: startsWith(matrix.os, 'ubuntu') | |
run: | | |
chmod +x gradlew | |
./gradlew clean test | |
- name: JUnit5 tests on macos | |
if: startsWith(matrix.os, 'macos') | |
run: | | |
chmod +x gradlew | |
./gradlew clean test | |
- name: JUnit5 tests on windows | |
if: startsWith(matrix.os, 'windows') | |
run: gradle clean test |