Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save must479/144fa241e7c354b3b7c5d415952b7904 to your computer and use it in GitHub Desktop.
Save must479/144fa241e7c354b3b7c5d415952b7904 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=undefined&optimize=undefined&runs=undefined&gist=
name: Running Solidity Unit Tests
on: [push]
jobs:
run_sol_contracts_job:
runs-on: ubuntu-latest
name: A job to run solidity unit tests on github actions CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run SUT Action
uses: EthereumRemix/sol-test@v1
with:
test-path: 'tests'
compiler-version: '0.8.15'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment