Browse Source

Update python-app.yml

Karl0ss 1 năm trước cách đây
mục cha
commit
523b165058
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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