Skip to content

Reformat files with black to allow tests to pass #5

Reformat files with black to allow tests to pass

Reformat files with black to allow tests to pass #5

Workflow file for this run

---
name: Continous integration of Rockset SQLAlchemy
on:
pull_request:
types: [opened, synchronize, edited, ready_for_review]
jobs:
ci:
name: build and archive
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.10'
- name: Install pypa/build
run: >-
python3 -m
pip install
build pytest sqlalchemy
--user
- name: Test
run: if [ $(ls -1 test/*.py |grep -v __init__.py |wc -l) -gt 0 ]; then pytest test; else true; fi
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Persist build artifacts
uses: actions/upload-artifact@v4
with:
name: sqlalchemy_draft_wheel
path: |
dist/*.whl
retention-days: 2
linter:
name: runner / black formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"