Separate CI for download tests and core tests

This commit is contained in:
Patrick Robertson
2025-01-13 16:27:46 +01:00
parent 63973e2ce7
commit 2353f9d6a5
2 changed files with 39 additions and 9 deletions

35
.github/workflows/tests-download.yaml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Download Tests
on:
push:
branches: [ main, staging ]
paths:
- src/**
pull_request:
branches: [ main, staging ]
paths:
- src/**
jobs:
test_back:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Package (Local)
run: |
python -m pip install --upgrade pip
pip install .
- name: Run Download Tests
run: |
pytest -m "download"