diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 00000000..b8a37922 --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -0,0 +1,29 @@ + +name: integration-tests + +on: + push: + branches: + - master + pull_request: + +jobs: + Test: + name: Integration Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + - name: Install forge dependencies + run: forge install + working-directory: ./contracts/evm + + - name: Test + run: make tests-integration \ No newline at end of file diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 00000000..e3ff4e0b --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,19 @@ +name: unit-tests + +on: + push: + branches: + - main + pull_request: + +jobs: + Test: + name: Unit Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: '1.21' + - name: Test + run: make tests-unit