Added check for new epoch in voter.vote #326
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Forge Tests | |
on: [pull_request] | |
jobs: | |
forge-tests: | |
name: Runs foundry tests and coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: forge install | |
- run: chmod 755 ./test.sh | |
- name: Run tests and coverage | |
env: | |
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
TEST_PROFILE: default | |
run: ./test.sh |