https://github.com/dimaqq/mre-973
MRE for act 973
https://github.com/dimaqq/mre-973
Last synced: 6 months ago
JSON representation
MRE for act 973
- Host: GitHub
- URL: https://github.com/dimaqq/mre-973
- Owner: dimaqq
- Created: 2023-11-17T05:48:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T23:28:44.000Z (over 1 year ago)
- Last Synced: 2024-11-19T00:28:05.200Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### MRE for `act` 973
https://github.com/nektos/act/issues/973
Requirements:
- ARM64 host, e.g. modern Mac
- Docker Desktop (for Mac)
- `brew install act`
When using `act` locally on a Mac:
```command
> act --container-architecture linux/amd64
[... snip ...]
[test.yaml/pytest-3] ⭐ Run Post actions/setup-python@v4.7.1
[test.yaml/pytest-3] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-python@v4.7.1/dist/cache-save/index.js] user= workdir=
| OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
[test.yaml/pytest-3] ❌ Failure - Post actions/setup-python@v4.7.1
```
Why is does the `post` step fail when `main` step succeeds?
#### Discussion
Why use `--container-architecture`?
Because ubuntu-latest includes Python for arm arch for latest Python versions, while the intention of this project is to exercise all stable Python versions.