Skip to content

Chains Streaming, related BT-10339 #3415

Chains Streaming, related BT-10339

Chains Streaming, related BT-10339 #3415

Workflow file for this run

name: PR - pre-commit
on:
pull_request:
concurrency:
group: pr-${{ github.ref_name }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: ./.github/actions/setup-python/
- run: poetry install --with=dev,dev-server --extras=all
- name: pre-commit
run: poetry run pre-commit run --all-files
env:
SKIP: ruff,ruff-format # In CI run ruff separately to only check, not fix.
- name: ruff check
run: |
poetry run ruff check .
poetry run ruff format . --check
test:
timeout-minutes: 30
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: ./.github/actions/setup-python/
- run: poetry install --with=dev,dev-server --extras=all
- name: run tests
run: poetry run pytest --durations=0 -m 'not integration' --junitxml=report.xml
- name: Publish Test Report # Not sure how to display this in the UI for non PRs.
uses: mikepenz/action-junit-report@v4
if: always()
with:
commit: ${{github.event.workflow_run.head_sha}} # Doest that work outside PR?
report_paths: "report.xml"
markdown-link-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: "yes"
folder-path: "docs"