Install using poetry #4
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: Test App | |
on: | |
push: | |
# paths-ignore: | |
# - ".github/**" | |
# - "frontend/**" | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
issue: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- name: Install Osmium | |
run: sudo apt-get install -y osmium-tool | |
- name: Install necessary dependecies | |
run: | | |
pip install --upgrade pip | |
pip install flare-floss | |
pip install tweepy | |
pip install poetry | |
- name: Install osmsg | |
run: | | |
poetry install | |
- name: Generate Last hour stats | |
env: #assign variables | |
OSM_USERNAME: ${{ secrets.OSM_USERNAME }} | |
OSM_PASSWORD: ${{ secrets.OSM_PASSWORD }} | |
run: | | |
osmsg --format csv image --last_hour --tags 'building' 'highway' 'waterway' 'amenity' --name stats --all_tags --changeset --summary --charts |