Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Jul 12, 2024
1 parent d6a0c62 commit 6a29510
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/test_plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,27 @@ jobs:

runs-on: ubuntu-latest

container: cahik/vscode-ubuntu-qgis-testing:v2

steps:

- name: GIS Sources
run: |
sudo add-apt-repository ppa:ubuntugis/ppa
- name: Install QGIS
run: |
sudo wget -qO /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntu `lsb_release -c -s` main" > /etc/apt/sources.list.d/qgis.list'
sudo apt-get update
sudo apt-get install -y qgis
- name: QGIS Version
run: qgis --version

- name: Install Python packages
run: pip install pytest pytest-qgis pytest-cov pytest-qt

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Add Python Path
run: |
Expand Down

0 comments on commit 6a29510

Please sign in to comment.