mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-01 10:21:54 +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
|
python -m pip install --upgrade pip
|
||||||
pip install pytest flake8 black
|
pip install pytest flake8 black
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
pip install .
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest -v
|
pytest -v
|
||||||
|
@ -31,16 +32,16 @@ jobs:
|
||||||
black -l 80 --check roentgen test roentgen.py
|
black -l 80 --check roentgen test roentgen.py
|
||||||
- name: Test render
|
- name: Test render
|
||||||
run: |
|
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
|
- name: Test icon generation
|
||||||
run: |
|
run: |
|
||||||
python roentgen.py icons
|
roentgen icons
|
||||||
- name: Test MapCSS 0.2 generation
|
- name: Test MapCSS 0.2 generation
|
||||||
run: |
|
run: |
|
||||||
python roentgen.py mapcss
|
roentgen mapcss
|
||||||
- name: Test element generation
|
- name: Test element generation
|
||||||
run: |
|
run: |
|
||||||
python roentgen.py element --node amenity=bench,material=wood
|
roentgen element --node amenity=bench,material=wood
|
||||||
- name: Test tile generation
|
- name: Test tile generation
|
||||||
run: |
|
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