Skip to content

Commit

Permalink
wip - remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
JCSanPedro committed Jan 15, 2024
1 parent f8a7f0a commit fa49ea1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
40 changes: 32 additions & 8 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: restore cache
uses: actions/cache@v3
- name: checkout code
uses: actions/checkout@v3

- name: Use Node.js 18.14.1
uses: actions/setup-node@v3
with:
path: ./
key: repo-${{hashFiles('./')}}
node-version: 18.14.1
cache: 'yarn'

# - name: restore cache
# uses: actions/cache@v3
# with:
# path: ./
# key: repo-${{hashFiles('./')}}

- name: yarn install
run: yarn

- name: test contracts
run: ITERATIONS=10000 npm test
Expand All @@ -66,11 +78,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: restore cache
uses: actions/cache@v3
- name: checkout code
uses: actions/checkout@v3

- name: Use Node.js 18.14.1
uses: actions/setup-node@v3
with:
path: ./
key: repo-${{hashFiles('./')}}
node-version: 18.14.1
cache: 'yarn'

# - name: restore cache
# uses: actions/cache@v3
# with:
# path: ./
# key: repo-${{hashFiles('./')}}

- name: yarn install
run: yarn

- name: test contracts
run: yarn coverage
Expand Down
2 changes: 1 addition & 1 deletion test/seekerOracle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { SyloContracts } from '../common/contracts';
import { expect } from 'chai';
import { randomBytes } from 'crypto';

describe('Seeker Power Oracle', () => {
describe.only('Seeker Power Oracle', () => {
let accounts: Signer[];
let deployer: string;

Expand Down

0 comments on commit fa49ea1

Please sign in to comment.