diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 12e55a2..eaee9a5 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -46,30 +46,34 @@ jobs: - name: Install dependencies run: poetry install - - name: run + - name: Style check run: | - poetry run python -m pytest tests - - flake8: - needs: changes - #if: ${{ needs.changes.outputs.py_modified == 'true' }} - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Install poetry - run: pipx install poetry - - - name: Setup python - uses: actions/setup-python@v5 - with: - python-version: 3.9 - cache: "poetry" - - - name: Install dependencies - run: poetry install + poetry run flake8 ${{ needs.changes.outputs.py_modified_files }} - - name: run + - name: Tests run: | - poetry run flake8 ${{ needs.changes.outputs.py_modified_files }} + poetry run python -m pytest tests + +# flake8: +# needs: changes +# #if: ${{ needs.changes.outputs.py_modified == 'true' }} +# runs-on: ubuntu-latest +# +# steps: +# - uses: actions/checkout@v3 +# +# - name: Install poetry +# run: pipx install poetry +# +# - name: Setup python +# uses: actions/setup-python@v5 +# with: +# python-version: 3.9 +# cache: "poetry" +# +# - name: Install dependencies +# run: poetry install +# +# - name: run +# run: | +# poetry run flake8 ${{ needs.changes.outputs.py_modified_files }}