docs: full urls; minor improves #137
Workflow file for this run
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: junit | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
junit: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: src/accelerometer/java/ | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Compile java files | |
run: javac -cp JTransforms-3.1-with-dependencies.jar *.java | |
- name: Download Junit | |
run: wget -O junit.jar https://repo1.maven.org/maven2/org/junit/platform/junit-platform-console-standalone/1.6.0/junit-platform-console-standalone-1.6.0.jar | |
- name: Compile tests | |
run: javac -cp .:Tests:junit.jar Tests/*.java | |
- name: Run tests | |
run: java -jar junit.jar -cp . --scan-class-path |