Skip to content

Commit

Permalink
Merge 81191ba into 7352951
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud authored Jun 22, 2023
2 parents 7352951 + 81191ba commit 9936750
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
branches: [main, staging]
paths:
[
'{apis,contracts,circuits,membership}/**/*.{?(c){j,t}s?(x),graphql,sol}',
'!contracts/lib/forge-std/**',
'{apis,circuits,membership}/**/*.{js,ts,tsx,graphql}',
'contracts/**/*.sol',
]
push:
branches: [main, staging]
paths:
[
'{apis,contracts,circuits,membership}/**/*.{?(c){j,t}s?(x),graphql,sol}',
'!contracts/lib/forge-std/**',
'{apis,circuits,membership}/**/*.{js,ts,tsx,graphql}',
'contracts/**/*.sol',
]

jobs:
Expand Down Expand Up @@ -60,6 +60,7 @@ jobs:
- name: Run tests
env:
DUNE_API_KEY: foo
GRAPH_API_KEY: ${{ secrets.GRAPH_API_KEY }} # required for build step on which test depends on
run: pnpm test

- name: Coveralls
Expand Down
1 change: 1 addition & 0 deletions contracts/src/Counter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pragma solidity ^0.8.13;

contract Counter {
// test
uint256 public number;

function setNumber(uint256 newNumber) public {
Expand Down
5 changes: 3 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@
"outputs": ["src/lib/graph/.graphclient/**"]
},
"test": {
"dependsOn": ["build"],
"dependsOn": ["^build"],
"inputs": [
"{apis/{prove,query},membership,circuits/circom}/{src,test}/**/*.{j,t}s?(x)"
"{apis/{prove,query},membership,circuits/circom}/{src,test}/**/*.{j,t}s?(x)",
"contracts/src/**/*.sol"
]
},
"deploy": {
Expand Down

0 comments on commit 9936750

Please sign in to comment.