Skip to content

feat: Add update_projects_table check in CI #495

feat: Add update_projects_table check in CI

feat: Add update_projects_table check in CI #495

Workflow file for this run

# Continuous Integration workflow. For more information see:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
# https://docs.astral.sh/ruff/integrations/#github-actions
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint-format-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint & format with ruff
run: |
ruff check --output-format github .
ruff format --check .
- name: Run update_projects_table.py
run: python update_projects_table.py
- name: Verify no changes to README.md
run: |
git diff --name-only --exit-code README.md
# (Enable this step once we have unit tests)
# - name: Test with pytest
# run: pytest -v