Welcome#
act can be used to test and simulate github actions locally. For more info check out their docs here.
This folder serves as a place for storing mock events which can be passed to act for more in-depth testing.
Running with events#
We can run act by passing custom events like mentioned:
act push -e ./act/test_push_event.json
Running with an env file#
act can be run with an env file with ease, just pass it the env file required (local should be the default choice):
act --env-file ./backend/.env.local
You can also pass specific env as needed
act -s MY_VAR=123