Skip to content

Commit

Permalink
Added githubactions.yml file and updated ReadMe.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
manasa-kandimalla committed Nov 1, 2022
1 parent 42af148 commit 19c2fb1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/neo4j-almaren-githubactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ jobs:
Build:
runs-on: ubuntu-20.04
services:
neo4j:
image: neo4j:3.5
ports:
- 7474:7474
- 7687:7687
env:
neo4j-user: neo4j
neo4j-password: neo4j
postgres:
image: postgres:13.4
env:
Expand All @@ -18,6 +26,9 @@ jobs:
--health-timeout 5s
--health-retries 5
steps:
- name: Update NEO4j password
run: |
curl -H "Content-Type: application/json" -XPOST -d '{"password":"neo4j1234"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password
- name : Check out repository code
uses: actions/checkout@v2
- name: Setup JDK
Expand All @@ -32,7 +43,7 @@ jobs:
PGPASSWORD="postgres" psql -c "ALTER USER postgres PASSWORD 'postgres' ;" -U postgres -h localhost
PGPASSWORD="postgres" psql -c 'create role runner;' -U postgres -h localhost
PGPASSWORD="postgres" psql -c 'ALTER ROLE "runner" WITH LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;' -U postgres -h localhost
sbt ++2.12.10 test
sbt ++2.12.15 test
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
Expand Down

0 comments on commit 19c2fb1

Please sign in to comment.