Skip to content

stock dashboard completed #546

stock dashboard completed

stock dashboard completed #546

name: Quality Assurance
on:
pull_request:
paths:
- 'src/**'
branches: [ "main" ]
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.10.13]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '22.x'
- name: Install Dependencies
run: |
make install
pip install ruff
npm install
npm run build
make collectstatic
- name: Run Tests
run: |
make test
- name: Formating and Linting check with ruff
run: |
ruff check --output-format=github ./src
ruff format --check