Skip to content

PETL-125 - Jobs that require docker-based datasources should not fail… #48

PETL-125 - Jobs that require docker-based datasources should not fail…

PETL-125 - Jobs that require docker-based datasources should not fail… #48

# For every commit pushed to the master branch, or any change detected to dependencies in Maven,
# this will compile, package, test, and verify the master branch.
name: Build and Test
on:
push:
branches: ['master']
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
# Check out the code
- uses: actions/checkout@v2
# Set up Java 1.8 with Maven including a .m2/settings.xml file. See https://github.com/actions/setup-java
- name: Set up JDK 1.8 and Maven settings file
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: openmrs-repo-modules-pih-snapshots
server-username: BINTRAY_USERNAME
server-password: BINTRAY_PASSWORD
# Execute the Maven verify command to compile, test, and verify
- name: Maven Verify
run: mvn -B verify --file pom.xml
env:
BINTRAY_USERNAME: pih
BINTRAY_PASSWORD: ${{ secrets.BINTRAY_PASSWORD }}