Add external geojson #47
Workflow file for this run
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
name: Build and test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
Docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: End to End tests setup | |
run: | | |
docker compose up -d elasticsearch | |
docker compose build planet-search | |
- name: End to End tests using curl | |
run: |- | |
docker compose up planet-search | |
curl -s -X GET http://localhost:9200/points/_search?pretty -H 'Content-Type: application/json' | |
Java: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 23 | |
- name: End to End tests setup | |
run: | | |
docker compose up -d elasticsearch | |
- name: Build | |
run: mvn clean install -DskipTests | |
- name: End to End test using Java | |
run: mvn test -Prun-all-tests | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |