Skip to content

Redesign setup and recordcard #5131

Redesign setup and recordcard

Redesign setup and recordcard #5131

Workflow file for this run

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 pytest-random-order pytest-xdist
pip install --no-cache-dir .
- name: Test flask web app
run: |
pytest --random-order -n 6 asreview/webapp/tests