Migrate to Remix #63
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: Test Coveralls | |
on: ["push", "pull_request"] | |
jobs: | |
test-contracts: | |
name: test-contracts | |
runs-on: ubuntu-latest | |
env: | |
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- name: Install dependencies and run tests | |
run: | | |
cd contracts/councilhaus | |
bun install | |
bun run test:coverage | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} # Ensure this is set | |
path-to-lcov: ./contracts/councilhaus/coverage/lcov.info # Adjust this path as needed |