Skip to content

Commit

Permalink
add ga action for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeTamanoir committed Sep 24, 2023
1 parent 94c555d commit ac4be9f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests-runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
pull_request:
branches:
- main
push:
branches:
- main

name: Test runner

jobs:
check:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install packages
run: npm install

- name: Run tests
run: forge test -vvvvv

- name: Run snapshot
run: forge snapshot

0 comments on commit ac4be9f

Please sign in to comment.