adding DB snapshots for big data testing #184
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: 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() | |
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/ |