2024-01-22 15:13:04 +00:00
|
|
|
name: tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "main" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_code_quality:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-02-06 17:18:22 +00:00
|
|
|
- uses: actions/checkout@v4
|
2024-01-22 15:13:04 +00:00
|
|
|
|
2024-01-22 15:22:15 +00:00
|
|
|
- name: Set up Python
|
2024-02-06 17:18:22 +00:00
|
|
|
uses: actions/setup-python@v5
|
2024-01-22 15:22:15 +00:00
|
|
|
with:
|
|
|
|
python-version: "3.8"
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
2024-02-26 09:25:47 +00:00
|
|
|
python -m pip install ruff
|
2024-01-22 15:22:15 +00:00
|
|
|
|
|
|
|
- name: Check quality
|
|
|
|
run: |
|
|
|
|
make style && make quality
|