forked from Universite-Gustave-Eiffel/NoiseModelling
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Universite-Gustave-Eiffel#695 from Universite-Gust…
…ave-Eiffel/5.X Merge 5.x to main branch
- Loading branch information
Showing
297 changed files
with
27,829 additions
and
21,705 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 |
---|---|---|
|
@@ -5,15 +5,19 @@ on: [ push, pull_request, workflow_dispatch ] | |
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
services: | ||
postgres: | ||
image: postgis/postgis:16-3.4 | ||
env: | ||
# must specify password for PG Docker container image, see: https://registry.hub.docker.com/_/postgres?tab=description&page=1&name=10 | ||
POSTGRES_USER: noisemodelling | ||
POSTGRES_PASSWORD: noisemodelling | ||
POSTGRES_DB: noisemodelling_db | ||
ports: | ||
- 5432:5432 | ||
# needed because the postgres container does not provide a healthcheck | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
steps: | ||
- uses: SPalominos/[email protected] | ||
with: | ||
psql_version: '9.6' | ||
pgis_version: '2.5' | ||
docker_image: 'postgis/postgis' | ||
db_password: 'orbisgis' | ||
db_user: 'orbisgis' | ||
db_name: 'orbisgis_db' | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
|
@@ -23,9 +27,12 @@ jobs: | |
server-username: MAVEN_USERNAME | ||
server-password: MAVEN_PASSWORD | ||
- name: Building | ||
run: | | ||
mvn test install -B | ||
cd wps_scripts && ./gradlew test --info --stacktrace | ||
run: mvn test install -B | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v4 | ||
- name: Build and test WPS with Gradle | ||
run: ./gradlew build --info --stacktrace | ||
working-directory: ./wps_scripts | ||
- name: Deploy | ||
env: | ||
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
|
@@ -35,7 +42,7 @@ jobs: | |
- name: Clean | ||
run: rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
$HOME/.m2/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ nbactions.xml | |
*.versionsBackup | ||
.attach* | ||
Docs/build | ||
Docs/.build | ||
Docs/venv | ||
profile_*.csv | ||
venv/ | ||
.DS_Store |
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
Oops, something went wrong.