name: CI on: push: branches: - main pull_request: branches: - main jobs: lint_and_test: runs-on: ubuntu-20.04 steps: - name: Checkout repo uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install black ruff pytest - name: Run Black run: black --check . - name: Run Ruff run: ruff check . - name: Run Pytest run: pytest