Skip to content

Commit

Permalink
chore(ci): update CH1 CI test
Browse files Browse the repository at this point in the history
kidneyweakx committed Feb 19, 2024
1 parent dec896e commit de2ff4c
Showing 4 changed files with 15 additions and 9 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml → .github/workflows/ch1.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
#
# ci.yml
#
# Run tests for all pushed commits and opened pull requests on Github.
#

name: CI
on: [push, pull_request]
name: CH1 Test
on:
push:
paths:
- 'src/CH1Message.ts'
- 'src/CH1Message.test.ts'
pull_request:
paths:
- 'src/CH1Message.ts'
- 'src/CH1Message.test.ts'
jobs:
test:
runs-on: ubuntu-latest
@@ -14,13 +20,13 @@ jobs:
- name: Set up NodeJS
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- name: Git checkout
uses: actions/checkout@v4
- name: NPM ci, build, & test
run: |
npm install
npm run build --if-present
npm test
npm test -t CH1
env:
CI: true
4 changes: 2 additions & 2 deletions src/MessageCH1.test.ts → src/CH1Message.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MessageContract, Message} from './MessageCH1'
import { Gadgets, Field, Mina, PrivateKey, PublicKey, AccountUpdate, MerkleMap, Poseidon } from 'o1js';
import { MessageContract, Message} from './CH1Message'
import { Gadgets, Field, Mina, PrivateKey, PublicKey, AccountUpdate, MerkleMap } from 'o1js';

let proofsEnabled = false;

File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { MessageContract } from './MessageCH1.js';
import { MessageContract } from './CH1Message.js';

export { MessageContract };

0 comments on commit de2ff4c

Please sign in to comment.