Skip to content

Issue#287: Refactor GeoNode API client module and drop legacy support #490

Issue#287: Refactor GeoNode API client module and drop legacy support

Issue#287: Refactor GeoNode API client module and drop legacy support #490

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-22.04
container:
image: qgis/qgis:final-3_34_12
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: fix Python command
run: apt-get install python-is-python3
- name: Install poetry
uses: Gr1N/setup-poetry@v8
- name: Install pluginadmin dependencies
run: poetry install
- name: Check formatting
run: poetry run black --check src/qgis_geonode
- name: Rebuild docs
run: poetry run mkdocs build
- name: Regenerate plugin repo XML
run: poetry run python pluginadmin.py --verbose generate-plugin-repo-xml
- name: Install QGIS Python bindings inside virtualenv
run: poetry run python pluginadmin.py --verbose install-qgis-into-venv
- name: Run tests
run: poetry run pytest --suppress-no-test-exit-code
publish-docs:
needs: ci
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
container:
image: qgis/qgis:final-3_34_12
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: fix Python command
run: apt-get install python-is-python3
- name: Install poetry
uses: Gr1N/setup-poetry@v8
- name: Install pluginadmin dependencies
run: poetry install
- name: generate plugin repo XML
run: poetry run python pluginadmin.py --verbose generate-plugin-repo-xml
- name: update docs
run: poetry run mkdocs gh-deploy --force