-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from ing-bank/feature/guthubactions
add github actions
- Loading branch information
Showing
5 changed files
with
54 additions
and
75 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CI-PR | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
it-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: "Add s3.localhost to /etc/hosts to be able to run it test on ceph" | ||
run: echo "127.0.0.1 s3.localhost" | sudo tee -a /etc/hosts | ||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: "[email protected]" | ||
- name: "Starting dependent containers for testing" | ||
run: docker-compose up -d keycloak ceph postgres-server mariadb ranger-admin rokku-sts cassandra | ||
- name: "Install aws cli" | ||
run: pip install --user awscli | ||
- name: "Compile the project while containers are starting up" | ||
run: sbt clean compile | ||
- name: "Wait for containers to be up and running" | ||
run: bash waitForContainerSetup.sh | ||
- name: "setup s3" | ||
run: bash setupS3Env.sh | ||
- name: "Running it tests" | ||
run: sbt clean coverage test it:test coverageReport |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI | ||
on: | ||
push: | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Setup Scala | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: "[email protected]" | ||
- name: Running test | ||
run: sbt clean test; | ||
|
This file was deleted.
Oops, something went wrong.
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
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