mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-31 01:46:26 +02:00
Test configuration.
This commit is contained in:
parent
76a4da369f
commit
1cb3728a0f
1 changed files with 6 additions and 5 deletions
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
|
@ -20,6 +20,7 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install pytest flake8 black
|
||||
pip install -r requirements.txt
|
||||
pip install .
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest -v
|
||||
|
@ -31,16 +32,16 @@ jobs:
|
|||
black -l 80 --check roentgen test roentgen.py
|
||||
- name: Test render
|
||||
run: |
|
||||
python roentgen.py render -b 37.415,55.753,37.416,55.754 --cache test/data
|
||||
roentgen render -b 37.415,55.753,37.416,55.754 --cache test/data
|
||||
- name: Test icon generation
|
||||
run: |
|
||||
python roentgen.py icons
|
||||
roentgen icons
|
||||
- name: Test MapCSS 0.2 generation
|
||||
run: |
|
||||
python roentgen.py mapcss
|
||||
roentgen mapcss
|
||||
- name: Test element generation
|
||||
run: |
|
||||
python roentgen.py element --node amenity=bench,material=wood
|
||||
roentgen element --node amenity=bench,material=wood
|
||||
- name: Test tile generation
|
||||
run: |
|
||||
python roentgen.py tile --coordinates 46.09498,10.06879 --cache test/data
|
||||
roentgen tile --coordinates 46.09498,10.06879 --cache test/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue