You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/.github/workflows/test_pr.yml

29 lines
731 B

11 months ago
---
# Notebook-related checks
name: Presubmit checks
on: [push, pull_request]
jobs:
11 months ago
# Disabled until google/pytype/issues/151 is resolved
# pytype3_10:
# name: pytype 3.10
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: ./.github/library/setup
# - name: Install pytype
# run: pip install -q pytype
# - name: Run pytype
# run: pytype ./swarms
format:
name: Check format with black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/library/setup
11 months ago
- name: Check format
run: |
python --version
pip install -q .
pip install -q black
black . --check