Skip to content

Commit

Permalink
ci: compute dspot version and maven home
Browse files Browse the repository at this point in the history
  • Loading branch information
danglotb committed Jun 15, 2021
1 parent 014c249 commit a29032c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/github-action-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ jobs:
with:
java-version: '8'
distribution: 'adopt'
- name: Setup DSpot Version
run: export DSPOT_VERSION=`grep '<version>' dspot/pom.xml | head -n 1 | sed -e 's/<version>//' -e 's/<\\/version>//' -e 's/ *//g'` && echo "🎉 ${DSPOT_VERSION}"
- name: Setup Maven Home
run: export MAVEN_HOME=`mvn --version | grep 'Maven home' | sed -e 's/Maven h.* //'` && echo "🎉 ${MAVEN_HOME}"
- name: Build with Maven
run: cd dspot && mvn -DdoIntegrationTests=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error clean test

0 comments on commit a29032c

Please sign in to comment.