Quickfix memory usage due to broken filelocks on distributed systems #5180
Workflow file for this run
This file contains 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-frontend | |
on: [push, pull_request] | |
jobs: | |
compile-and-test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
cache-dependency-path: 'asreview/webapp/package-lock.json' | |
- name : Get Tags | |
run: | | |
git fetch --prune --unshallow --tags | |
git tag | |
- name: Compile assets | |
run: | | |
python setup.py compile_assets | |
- name: Install pytest and package | |
run: | | |
pip install pytest | |
pip install pytest-random-order | |
pip install --no-cache-dir . | |
- name: Test flask web app | |
run: | | |
pytest --random-order asreview/webapp/tests |