Fix issues with closed linestrings #78
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
container: | |
image: qgis/qgis:${{ matrix.qgis-image-tags }} | |
strategy: | |
matrix: | |
qgis-image-tags: [release-3_22, release-3_28] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
pip3 install virtualenv && virtualenv .venv --system-site-packages | |
- run: | | |
.venv/bin/pip3 install -q -r requirements.txt --no-deps --only-binary=:all: | |
.venv/bin/pip3 install . --no-deps | |
- run: | | |
.venv/bin/pytest | |
env: | |
QT_QPA_PLATFORM: offscreen | |
plugin_zip: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.9" | |
# Use extra pip install . to do a non-editable install, | |
# so that .dist-info will go the package instead of .egg-info | |
- run: | | |
pip install -r requirements.txt --no-deps --only-binary=:all: | |
pip install . --no-deps | |
- run: | | |
qgis-plugin-dev-tools build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: plugin-zip | |
path: dist/*.zip |