Fix missing import on CLI #316
Workflow file for this run
This file contains hidden or 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: test-suite | |
| on: [push, pull_request] | |
| jobs: | |
| lint-python: | |
| name: lint-python | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install ruff | |
| run: | | |
| pip install ruff | |
| - name: Lint python with ruff | |
| run: | | |
| ruff check . | |
| test-asreview: | |
| name: Test Insights for ASReview LAB versions | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| asr_versions: ['2.0'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install packages and run tests | |
| run: | | |
| pip install pytest | |
| pip install asreview~=${{ matrix.asr_versions }} | |
| pip install . | |
| pytest tests |