name: Python lint and test on: push: branches: - main - 'releases/**' paths: - '**.py' pull_request: branches: - main - 'releases/**' paths: - '**.py' jobs: linttest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements_local.txt - name: Run black run: black --check fooder - name: Run flake8 run: flake8 fooder - name: Run tests run: ./test.sh