diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 4aa7b75..a83ccf4 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,30 +1,32 @@ # This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Python application +name: Python CI on: push: - branches: [ "main" ] + branches: [ "develop" ] pull_request: - branches: [ "main" ] + branches: [ "develop" ] permissions: contents: read jobs: - build: - + ci: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 + - name: Set up Python 3.10 uses: actions/setup-python@v3 with: python-version: "3.10" + - name: Poetry Install uses: ClementWalter/poetry-action@v1 + with: bash + - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names