Skip to content

Commit 993f731

Browse files
committedDec 31, 2023
Merge branch 'master' into dependabot/maven/algorithms/junit-junit-4.13.1
2 parents e0c0a79 + 338b3ec commit 993f731

File tree

199 files changed

+37044
-492
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+37044
-492
lines changed
 

‎.github/workflows/test.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: phyloDB CI tests
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
services:
18+
neo4j:
19+
image: neo4j:5.13.0-community
20+
env:
21+
NEO4J_AUTH: neo4j/password
22+
NEO4J_dbms_memory_pagecache_size: 1G
23+
NEO4J_dbms.memory.heap.initial_size: 2G
24+
NEO4J_dbms_memory_heap_max__size: 2G
25+
NEO4J_dbms_security_procedures_unrestricted: apoc.*,algorithms.*
26+
NEO4J_dbms_security_procedures_whitelist: apoc.*,algorithms.*
27+
NEO4J_dbms_connector_bolt_advertised__address: localhost:7687
28+
NEO4JLABS_PLUGINS: '["apoc", "apoc-extended"]'
29+
volumes:
30+
- /home/runner/work/phyloDB/instance/plugins:/var/lib/neo4j/plugins
31+
ports:
32+
- 7687:7687
33+
options: --name neo4j
34+
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Set up JDK 17
38+
uses: actions/setup-java@v3
39+
with:
40+
java-version: '17'
41+
distribution: 'temurin'
42+
- name: Build and test
43+
run: |
44+
cd algorithms
45+
mvn -q package
46+
sudo cp target/algorithms-1.0.jar /home/runner/work/phyloDB/instance/plugins
47+
sudo ls -l /home/runner/work/phyloDB/instance/plugins
48+
docker restart neo4j
49+
mvn -q test
50+
cd ../phylodb
51+
./gradlew test --tests pt.ist.meic.phylodb.unit*

‎.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Created by https://www.gitignore.io/api/java,gradle,maven,intellij
33
# Edit at https://www.gitignore.io/?templates=java,gradle,maven,intellij
44

5+
6+
# Project-specific.
7+
build.log
8+
instance1/*
9+
510
### Intellij ###
611
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
712
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
@@ -48,6 +53,14 @@ cmake-build-*/
4853
# File-based project format
4954
*.iws
5055

56+
# Visual Studio Code
57+
.vscode/*
58+
!.vscode/settings.json
59+
!.vscode/tasks.json
60+
!.vscode/launch.json
61+
!.vscode/extensions.json
62+
!.vscode/*.code-snippets
63+
5164
# IntelliJ
5265
out/
5366

0 commit comments

Comments
 (0)
Please sign in to comment.