Skip to content

Commit

Permalink
Updating readme + Making sure the test still works (running on fork)
Browse files Browse the repository at this point in the history
Adding the workflow status badge to the readme

Running the test on my fork again before making further changes.
  • Loading branch information
nataliejschultz committed Oct 26, 2023
1 parent e3b93eb commit 0b9e455
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/nominatim-docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,13 @@ name: nominatim-docker-test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_call:
secrets:
DOCKER_USER:
description: "Docker user known working secret test"
required: true
push:
paths:
- 'emission/integrationTests/docker-compose.yml'
- 'net/ext_service/geocoder'
- 'analysis/intake/cleaning/clean_and_resample.py'
- 'emission/integrationTests'
# schedule:

pull_request:
paths:
- 'emission/integrationTests/docker-compose.yml'
- 'net/ext_service/geocoder'
- 'analysis/intake/cleaning/clean_and_resample.py'
schedule:

# Run every Sunday at 4:05 am
- cron: '5 4 * * 0'
env:
GEOFABRIK_API: ${{ secrets.DOCKER_USER }}
# # Run every Sunday at 4:05 am
# - cron: '5 4 * * 0'
jobs:
# This workflow contains a single job called "build"
build:
Expand All @@ -40,12 +25,9 @@ jobs:
# Runs a single command using the runners shell
- name: Workflow test
run: echo Smoke test

- name: Secret test
run: echo "$GEOFABRIK_API"

# Passes the geofabrik key into the docker-compose.yml file.
- name: Test nominatim.py
run: GFBK_KEY="$GEOFABRIK_API" docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server
run: GFBK_KEY=${{ secrets.GEOFABRIK_API }} docker-compose -f emission/integrationTests/docker-compose.yml up --exit-code-from web-server


5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ backend server - the phone apps are available in the [e-mission-phone
repo](https://github.com/amplab/e-mission-phone)


- **Master** [![master:test-with-docker](https://github.com/e-mission/e-mission-server/workflows/test-with-docker/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Atest-with-docker) [![master:ubuntu-only-test-with-manual-install](https://github.com/e-mission/e-mission-server/workflows/ubuntu-only-test-with-manual-install/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Aubuntu-only-test-with-manual-install) [![master:osx-ubuntu-manual-install](https://github.com/e-mission/e-mission-server/workflows/osx-ubuntu-manual-install/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Aosx-ubuntu-manual-install)

- **GIS branch:** [![master:ubuntu-only-test-with-manual-install](https://github.com/e-mission/e-mission-server/workflows/ubuntu-only-test-with-manual-install/badge.svg?branch=gis-based-mode-detection)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Agis-based-mode-detection+workflow%3Aubuntu-only-test-with-manual-install) [![osx-ubuntu-manual-install](https://github.com/e-mission/e-mission-server/workflows/osx-ubuntu-manual-install/badge.svg?branch=gis-based-mode-detection)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Agis-based-mode-detection+workflow%3Aosx-ubuntu-manual-install)

- **Master** [![master:test-with-docker](https://github.com/e-mission/e-mission-server/workflows/test-with-docker/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Atest-with-docker) [![master:ubuntu-only-test-with-manual-install](https://github.com/e-mission/e-mission-server/workflows/ubuntu-only-test-with-manual-install/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Aubuntu-only-test-with-manual-install) [![master:osx-ubuntu-manual-install](https://github.com/e-mission/e-mission-server/workflows/osx-ubuntu-manual-install/badge.svg)](https://github.com/e-mission/e-mission-server/actions?query=branch%3Amaster+workflow%3Aosx-ubuntu-manual-install) [![master:nominatim-docker-test](https://github.com/e-mission/e-mission-server/workflows/nominatim-docker-test/badge.svg)](https://github.com/e-mission/e-mission-server/actions/workflows/nominatim-docker-test.yml?query=branch%3Amaster)

**Issues:** Since this repository is part of a larger project, all issues are tracked [in the central docs repository](https://github.com/e-mission/e-mission-docs/issues). If you have a question, [as suggested by the open source guide](https://opensource.guide/how-to-contribute/#communicating-effectively), please file an issue instead of sending an email. Since issues are public, other contributors can try to answer the question and benefit from the answer.

Expand Down

0 comments on commit 0b9e455

Please sign in to comment.