Sfoglia il codice sorgente

Update python-app.yml

Karl0ss 1 anno fa
parent
commit
523b165058
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      .github/workflows/python-app.yml

+ 1 - 2
.github/workflows/python-app.yml

@@ -30,11 +30,10 @@ jobs:
         python -m pip install --upgrade pip
         pip install flake8 pytest
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-        poetry shell
         poetry install
     - name: Get latests
       run: |
-         python .\main.py
+         poetry run .\main.py
     # - name: Lint with flake8
     #   run: |
     #     # stop the build if there are Python syntax errors or undefined names