Skip to content

Create codeql.yml

Create codeql.yml #366

Workflow file for this run

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 --with-deps chromium
- 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