-
Notifications
You must be signed in to change notification settings - Fork 54
50 lines (40 loc) · 1.06 KB
/
stability.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Code Stability
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: stability-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
stability:
name: Code Stability
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Python
uses: ./.github/actions
- name: Install tools
run: poetry install --only dev
- id: ruff
if: always()
<<<<<<< HEAD
run: poetry run ruff --format=github python_package/surrealdb/
- id: Black
if: always()
run: poetry run black python_package/surrealdb/ --check --verbose --diff --color
- id: mypy
if: always()
run: poetry run mypy python_package/surrealdb/
=======
run: poetry run ruff check surrealdb/
- id: Black
if: always()
run: poetry run black surrealdb/ --check --verbose --diff --color
- id: mypy
if: always()
run: poetry run mypy surrealdb/
>>>>>>> 89bdd361d0a92f69deff137958279ab21161f00c