Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci workflow and use asreview 1.x for testing #38

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 3 additions & 34 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,10 @@ jobs:
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: datatools

- uses: actions/setup-python@v1
with:
python-version: '3.8' # Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: 'x64' # (x64 or x86)
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install packages and run tests
run: |
pip install pytest
pip install --upgrade setuptools>=41.0.0
git clone https://github.com/asreview/asreview.git
cd asreview
pip install .
cd ..
pip install ./datatools
pytest datatools/tests

#test-older:
#name: pytest
#runs-on: ubuntu-latest
#strategy:
#matrix:
#asr_versions: []
#steps:
#- uses: actions/checkout@v2
#- uses: actions/setup-python@v1
#with:
#python-version: '3.6' # Version range or exact version of a Python version to use, using semvers version range syntax.
#architecture: 'x64' # (x64 or x86)
#- name: Install packages and run tests
#run: |
#pip install pytest
#pip install setuptools>=41.0.0
#pip install asreview==${{ matrix.asr_versions }}
#pip install .
#pytest tests
pytest
Loading