mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 20:58:29 +03:00
Separate CI for download tests and core tests
This commit is contained in:
35
.github/workflows/tests-core.yaml
vendored
Normal file
35
.github/workflows/tests-core.yaml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Core 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", "3.11", "3.12"]
|
||||
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 Core Tests
|
||||
run: |
|
||||
pytest -m "not download"
|
||||
Reference in New Issue
Block a user