Skip to content

Commit eb30399

Browse files
committed
ci: run Cadence tests via ./run_tests.sh to avoid emulator state collisions
1 parent 8baf437 commit eb30399

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Cadence Tests
2+
3+
on:
4+
pull_request:
5+
branches: [ "**" ]
6+
push:
7+
branches: [ feature/liquidation-mechanism ]
8+
9+
jobs:
10+
cadence-tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Flow CLI
17+
uses: onflow/setup-flow-cli@v1
18+
with:
19+
version: "v2.7.3"
20+
21+
- name: Cache Flow emulator data (disabled)
22+
run: echo "We intentionally avoid caching ~/.flow to prevent state collisions between tests."
23+
24+
- name: Make test runner executable
25+
run: chmod +x ./run_tests.sh
26+
27+
- name: Run Cadence tests with runner
28+
run: ./run_tests.sh
29+

0 commit comments

Comments
 (0)