Action For Running Solidity Unit Tests
This GitHub action enables you to run Solidity Unit Tests as part of your continuous integration and deployment process.
To know more about Remix IDE Solidity Unit Testing
, visit Remix IDE official documentation, Remix Tests Library.
Example workflow: Sample
name: solidity-unit-testing-action
on: [push]
jobs:
run_sample_test_job:
runs-on: ubuntu-latest
name: A job to run sample solidity tests
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Environment Setup
uses: actions/setup-node@v3
with:
node-version: 14.17.6
- name: Run SUT Action
uses: EthereumRemix/sol-test@v1
with:
test-path: 'sample/tests'
compiler-version: '0.8.15'
License
MIT © 2018-22 Remix Team