Skip to content

test_qgis_color_func.yml in .github #1

test_qgis_color_func.yml in .github

test_qgis_color_func.yml in .github #1

9name: QGIS Color Table Tests

Check failure on line 1 in .github/workflows/test_qgis_color_func.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_qgis_color_func.yml

Invalid workflow file

The workflow is not valid. .github/workflows/test_qgis_color_func.yml (Line: 1, Col: 1): Unexpected value '9name'
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