clean up actions #337
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: 'Python package: Scylla' | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 2 | |
matrix: | |
python-version: [ 3.11 ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install libgnutls28-dev libcurl4-openssl-dev libssl-dev -y | |
pip install -r tests/requirements-test.txt | |
pip install -e . | |
python -m playwright install-deps | |
python -m playwright install | |
- name: Build web | |
run: | | |
cd frontend | |
npm install | |
npm run build:scylla:prod | |
- name: Lint with flake8 | |
run: | | |
make style-check | |
- name: Test with pytest | |
run: | | |
pytest --cov=./scylla tests |