Fix DFS root-revisit bug in isConnected; add Prufer sequence report #160
This file contains hidden or 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, pull_request] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Download JUnit 5 dependencies | |
| run: | | |
| mvn dependency:get -q -Dartifact=org.junit.jupiter:junit-jupiter-api:5.9.3 | |
| mvn dependency:get -q -Dartifact=org.junit.jupiter:junit-jupiter-engine:5.9.3 | |
| mvn dependency:get -q -Dartifact=org.junit.platform:junit-platform-engine:1.9.3 | |
| mvn dependency:get -q -Dartifact=org.junit.platform:junit-platform-commons:1.9.3 | |
| mvn dependency:get -q -Dartifact=org.junit.platform:junit-platform-launcher:1.9.3 | |
| mvn dependency:get -q -Dartifact=org.opentest4j:opentest4j:1.2.0 | |
| - name: Build with Ant | |
| run: ant -noinput | |
| - name: Run tests | |
| run: ant -noinput test |