Skip to content

[pre-commit.ci] pre-commit autoupdate #5993

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #5993

Workflow file for this run

name: Test ASReview core
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install ruff
run: |
pip install .[dev]
- name: Lint Python
run: |
ruff check --exclude=asreview/webapp
test-asreview-core:
name: test-asreview-core
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.13"]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install packages
run: |
pip install pytest
pip install --no-cache-dir .[test]
pip install --no-cache-dir .
- name: Run test suite with pytest
run: |
pytest tests/