Update dependency org.apache.maven.plugins:maven-surefire-plugin to v… #131
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: Enabled tests counter | |
on: | |
push | |
jobs: | |
counter: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 14 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '14' | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Build counter | |
run: mvn clean package -PEnabledTestsCounter -DskipTests -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | |
- name: Rename counter | |
run: cp transpiler/target/transpiler-*-jar-with-dependencies.jar counter.jar | |
- name: Run counter | |
run: java -jar counter.jar |