Skip to content

Commit

Permalink
test_qgis_color_func.yml in .github
Browse files Browse the repository at this point in the history
  • Loading branch information
jehlijos authored Jun 19, 2024
1 parent 904a4be commit 9d15649
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test_qgis_color_func.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
9name: QGIS Color Table Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up QGIS
run: |
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install -y qgis python3-qgis
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Install QGIS dependencies
run: |
sudo apt-get install -y python3-pytest
sudo apt-get install -y python3-pytest-qt
- name: Run tests
run: pytest test_qgis_color.py

0 comments on commit 9d15649

Please sign in to comment.