sandialabs / seat-qgis-plugin

Spatial Environmental Assessment Toolkit (SEAT) QGIS Plugin
https://sandialabs.github.io/seat-qgis-plugin/
GNU General Public License v3.0
1 stars 7 forks source link

Add Testing Workflow #37

Closed ssolson closed 2 weeks ago

ssolson commented 1 month ago

This PR adds basic testing to the python functions in the the seat qgis plugin using GitHub actions.

The test actions are controlled by the file: https://github.com/ssolson/seat-qgis-plugin/blob/tests/.github/workflows/run-tests.yml

The important steps in the testing are as follows:

TODO:

For reference below are some of the resources I used to put this together for future reference:

QGIS Documentation on Docker Images for Testing Example yml file to run docker test in GitHub Actions Example QGIS python tests Example python test for the GUI

Tutorial on QGIS Plugin Testing

python package for testing qgis plugins

Supercedes #27