Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #880

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

test #880

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 19 additions & 11 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 8.0.292
- name: Spotless check
run: mvn spotless:check
- name: Maven install, test skipped
run: mvn install -DskipTests
- name: Maven test
run: mvn test
- name: test env variable
env:
MOJITO_CURRENT_COMMIT: ${{ github.event.pull_request.head.sha }}
MOJITO_BASE_COMMIT: ${{ github.event.pull_request.base.sha }}
run: |
echo "Current commit: ${MOJITO_CURRENT_COMMIT} and Base commit: ${MOJITO_BASE_COMMIT} "

# echo $EVENT_CONTEXT
# - name: Set up JDK 1.8
# uses: actions/setup-java@v3
# with:
# distribution: 'zulu'
# java-version: 8.0.292
# - name: Spotless check
# run: mvn spotless:check
# - name: Maven install, test skipped
# run: mvn install -DskipTests
# - name: Maven test
# run: mvn test