Run Foundry tests quickly and easily with GitHub Actions
Include it in your GitHub Actions file after a checkout.
- name: "Run Tests"
uses: multisig-labs/foundry-test-action@v1
You can add any addition arguments you want with the with
specifier in your Actions config. Here is an example.
- name: "Run Tests"
uses: multisig-labs/foundry-test-action@v1
with:
args: "--match-test storage"
This will work with any option of forge test
except for the watch command. See here for a list of options.