diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0fcbb7c..daf4faa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,10 +35,14 @@ jobs: - name: Install Dependencies run: | + python3 -m venv ~/pyenv + source ~/pyenv/bin/activate python3 -m pip install gitpython prospector pyyaml requests - name: Run prospector - run: python3 -m prospector . -P ./prospector/profile.yml > prospector_result.txt || exit 1 + run: | + source ~/pyenv/bin/activate + python3 -m prospector . -P ./prospector/profile.yml > prospector_result.txt || exit 1 - name: Upload prospector result to Artifacts uses: actions/upload-artifact@v3