Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if venv package is installed already #558

Merged
merged 13 commits into from Feb 3, 2024
Merged

Conversation

EnricoMi
Copy link
Owner

@EnricoMi EnricoMi commented Jan 12, 2024

First tries to create a virtual environment, only if that fails installs the virtualenv package.

Further:

  • avoids creating a link from python3 to python if the former does not exists.
  • does not source the virtual environment activate script but uses the Python binary directly

Includes #560
Supersedes: #556

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Test File)

97 tests  ±0   80 ✅ ±0   3m 25s ⏱️ ±0s
 1 suites ±0   17 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Dockerfile)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Test Files)

  145 files  ±0     17 errors  731 suites  ±0   2h 12m 36s ⏱️ ±0s
1 811 tests ±0  1 518 ✅ ±0   73 💤 ±0  209 ❌ ±0  11 🔥 ±0 
4 109 runs  ±0  3 424 ✅ ±0  214 💤 ±0  450 ❌ ±0  21 🔥 ±0 

For more details on these parsing errors, failures and errors, see this check.

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (macOS python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (macOS python 3.8)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (macOS python venv)

   135 files     135 suites   40m 45s ⏱️
   436 tests    436 ✅     0 💤 0 ❌
58 860 runs  57 516 ✅ 1 344 💤 0 ❌

Results for commit 07320c4.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Docker Image amd64)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (macOS 11 python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Linux python venv)

   135 files     135 suites   40m 45s ⏱️
   436 tests    436 ✅     0 💤 0 ❌
58 860 runs  57 516 ✅ 1 344 💤 0 ❌

Results for commit 07320c4.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Linux python 3.8)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Linux 20.04 python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Linux python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Docker Image arm64)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (Windows python venv)

   135 files     135 suites   40m 45s ⏱️
   436 tests    436 ✅     0 💤 0 ❌
58 860 runs  57 516 ✅ 1 344 💤 0 ❌

Results for commit 07320c4.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 12, 2024

Test Results (reference)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

@suppHorter suppHorter mentioned this pull request Jan 12, 2024
Copy link

github-actions bot commented Jan 12, 2024

Test Results (Windows python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

@EnricoMi EnricoMi marked this pull request as ready for review January 22, 2024 15:31
@EnricoMi EnricoMi force-pushed the check-venv-installed branch 2 times, most recently from 95c6c64 to 3de707f Compare January 22, 2024 19:09
Copy link

github-actions bot commented Jan 22, 2024

Test Results (Windows 2019 python installed)

   135 files  ±0     135 suites  ±0   40m 45s ⏱️ - 4m 14s
   436 tests ±0     436 ✅ ±0      0 💤 ±0  0 ❌ ±0 
58 860 runs  ±0  57 516 ✅ ±0  1 344 💤 ±0  0 ❌ ±0 

Results for commit 07320c4. ± Comparison against base commit 8551547.

♻️ This comment has been updated with latest results.

@EnricoMi EnricoMi merged commit 5a94863 into master Feb 3, 2024
85 checks passed
@EnricoMi EnricoMi deleted the check-venv-installed branch February 3, 2024 09:42
kfr2 pushed a commit to turnitin-actions/publish-unit-test-result-action that referenced this pull request Feb 13, 2024
* Uses installed `virtualenv` and `venv` packages
* Installs `virtualenv` if none of the above works
* Installs without `PIP_OPTIONS` if `pip install $PIP_OPTIONS` does not work
* Creates a virtual environment
* Does not activate the virtual environment but uses the Python binary directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant