Skip to content

Update pytest syntax for proper setup (#62) #223

Update pytest syntax for proper setup (#62)

Update pytest syntax for proper setup (#62) #223

Workflow file for this run

name: test-suite
on: [push, pull_request]
jobs:
lint-python:
name: lint-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install ruff
run: |
pip install ruff
- name: Lint python with ruff
run: |
ruff .
test-asreview:
name: Test Insights for ASReview LAB versions
runs-on: ubuntu-latest
strategy:
matrix:
asr_versions: ['1.0', '1.1', '1.2']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install packages and run tests
run: |
pip install pytest
pip install asreview[all]==${{ matrix.asr_versions }}
pip install .
pytest tests