From a1a7b2ed226795a6756b302a4b49ef0b73a43d40 Mon Sep 17 00:00:00 2001 From: minhtrung23 Date: Thu, 5 Sep 2024 09:19:20 +0000 Subject: [PATCH] Fix convention for github/workflows/python-package.yml.py --- .github/workflows/python-package.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a00da49..6a3d768 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,6 +1,3 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - name: Python package on: @@ -11,7 +8,6 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: fail-fast: false @@ -29,6 +25,7 @@ jobs: python -m pip install --upgrade pip python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -e .; fi + pip list # List installed packages to verify - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names @@ -38,3 +35,6 @@ jobs: - name: Test with pytest run: | pytest + - name: Debug Python Path + run: | + python -c "import sys; print(sys.path)"