-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.09 KB
/
test_app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 -r requirements.txt
- name: Install osmsg
run: |
python setup.py 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