Skip to content

typo edited

typo edited #2

name: 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