Skip to content

update palisade.gpkg URL and add self-trigger to workflows where URL … #1

update palisade.gpkg URL and add self-trigger to workflows where URL …

update palisade.gpkg URL and add self-trigger to workflows where URL … #1

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Test Datastream Python Validation
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '**'
- '!**/*.md'
- '!docs/**'
- '!.github/workflows/**'
- '.github/workflows/test_datastream_python_validation.yaml'
pull_request:
branches:
- main
paths:
- '**'
- '!**/*.md'
- '!docs/**'
- '!.github/workflows/**'
- '.github/workflows/test_datastream_python_validation.yaml'
permissions:
contents: read
jobs:
test-python-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
- name: Test with pytest
run: |
python -m pytest tests/test_validation.py