Better reuse of process selection logic #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Internal tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'src/openeo_test_suite/lib/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'src/openeo_test_suite/lib/**' | |
jobs: | |
internal-tests: | |
name: "Internal tests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install . | |
- name: "Internal tests" | |
run: | | |
export OPENEO_TEST_SUITE_PROCESSES_TEST_ROOT=openeo-test-suite/assets/processes/tests | |
pytest src/openeo_test_suite/lib/internal-tests/ |