Bump actions/setup-python from 5.1.0 to 5.1.1 #22
Workflow file for this run
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: 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" | |