Skip to content

Change tox.ini to follow external command rules for tox 4.x #820

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

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

chris-langfield
Copy link
Collaborator

Our Github Actions runners have recently stopped installing tox==3.28 and started testing with tox=4.0.16. See #819 for details on this.

This means that our tox workflow is now failing because of the use of the sh command within the tox.ini. With tox 4.x, this command must be added to the allowlist_external in the tox environment.

This PR makes that change.

I also tested this tox configuration file with 3.28 locally and it appears to work. So we should be safe in the unlikely event that the GA runner happens to try running 3.28 again.

@chris-langfield chris-langfield added bug Something isn't working CI Continuous Integration labels Dec 23, 2022
@chris-langfield chris-langfield linked an issue Dec 23, 2022 that may be closed by this pull request
@chris-langfield chris-langfield self-assigned this Dec 23, 2022
@codecov
Copy link

codecov bot commented Dec 23, 2022

Codecov Report

Merging #820 (81435b6) into develop (4abc7f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #820   +/-   ##
========================================
  Coverage    88.25%   88.25%           
========================================
  Files          113      113           
  Lines         8891     8891           
========================================
  Hits          7847     7847           
  Misses        1044     1044           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@garrettwrong garrettwrong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chris-langfield chris-langfield marked this pull request as ready for review January 3, 2023 13:18
@chris-langfield chris-langfield requested a review from j-c-c January 3, 2023 13:37
Copy link
Collaborator

@j-c-c j-c-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for doing this!

@chris-langfield chris-langfield merged commit 1187c1b into develop Jan 3, 2023
@chris-langfield chris-langfield deleted the tox_patch_819 branch January 3, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Github Actions issue with tox
3 participants