Open jmount-boss opened 8 months ago
I believe I've also encountered a related issue when working on pypa/setuptools#4310, whose config has a distutils
factor in the matrix config that is only set on one include. However, when I run this configuration with act --job test --matrix python:3.10 --matrix platform:ubuntu-latest --matrix distutils:stdlib
, I get two jobs, one for distutils:stdlib
and another for distutils
being unset:
[tests/test-1] ๐งช Matrix: map[platform:ubuntu-latest python:3.10]
[tests/test-2] ๐งช Matrix: map[distutils:stdlib platform:ubuntu-latest python:3.10]
Best I can tell, it's not possible to run just the job for distutils:stdlib
due to this bug.
act version 0.2.62
I was able to temporarily work around the issue by making the distutils
factor explicit in the matrix for the matching value:
setuptools feature/pep-621 @ git diff
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ec2e567a1..903c7060c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -53,6 +53,7 @@ jobs:
platform: ubuntu-latest
- python: "3.10"
platform: ubuntu-latest
+ distutils: local
- python: "3.11"
platform: ubuntu-latest
- python: pypy3.10
Bug report info
Command used with act
Describe issue
The matrix configuration appears to be inconsistent with the documentation provided by Github here. Expected only 6 configurations, yet Act runs 7. The matrix configuration '{color: green}' should not exist according to the Github documentation.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response