Life-changing dev tool I learned about recently: <...
# random
d
Life-changing dev tool I learned about recently: https://github.com/nektos/act Been using it on the https://github.com/dagster-io/community-integrations repo; works like a charm for almost everything there.
👀 1
I think the main place you can run into issues is if you have a Docker-in-Docker situation, but e.g. for
dagster-iceberg
tests that use
testcontainers
can work around it like:
Copy code
act --env TESTCONTAINERS_HOST_OVERRIDE=`ipconfig getifaddr en0` -W .github/workflows/quality-check-dagster-iceberg.yml
n
This is awesome.
• Local Task Runner - I love make. However, I also hate repeating myself. With
act
, you can use the GitHub Actions defined in your
.github/workflows/
to replace your
Makefile
!
I would still strive to keep this debuggable and have the same local setup & CI. (i.e. the CI is just refering to a
make install
) rather having
pip install
everywhere.
testing this on Kedro and seems to work fine🚀
d
Yeah, I think it's especially nice that you don't have to struggle to make sure everything runs in a windows dev env 😅