Comments (1)
Hello, thanks for asking a question. I guess your tox.ini
is something like the following and running tox
with tox-gh-actions runs both unit
and unit-cover
.
[tox]
envlist = unit, unit-cover, <maybe other envs?>
[gh-actions]
python =
3.10: unit
[testenv]
I cannot come up with a clean solution but I can propose a few workarounds.
Option 1: If your tox.ini
is simple and doesn't have many other envs, you can specify the list of environments you want to execute explicitly like tox -e unit
. This will disable tox-gh-actions' environment overrides but you can still enjoy other features of tox-gh-actions such as log line grouping. https://github.com/ymyzk/tox-gh-actions/tree/v2.10.0#overriding-environments-to-run
Option 2: Renaming the name of the tox environment can be another option. For example, you can rename unit
to something like unit-only
so that tox-gh-actions won't be confused.
from tox-gh-actions.
Related Issues (20)
- pypy2 HOT 3
- Error in alpine Linux with matchers HOT 3
- Python 3.11 Support HOT 2
- Valid versioning syntax when specifying Python version in tox.ini HOT 4
- Can the warning about "no found environment" be turned into an error? HOT 2
- [regression] tox-gh-actions >= 3 breaks tox >= 4 HOT 3
- No coverage report data on windows-latest workflows HOT 2
- Package Installation failing on github actions. HOT 2
- TypeError comparing options.parallel to None HOT 4
- Python 3.6 environment not found, but works for 3.7, 3,8, 3,9... HOT 2
- Improve error reporting when a config is malformed HOT 1
- TypeError when running `tox --parallel` HOT 2
- Python `version: factor` mapping causes side-effect on Tox v4 HOT 2
- Tox step not executed
- Release 3.1.2 is causing a SyntaxError HOT 3
- `requires` in `[tox]` breaks factoring out environments HOT 1
- Tox is running different python version to the one installed by Github Actions HOT 1
- idea: colorize output
- Custom `install_command` is not run on GitHub Actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tox-gh-actions.