Skip to content

Commit

Permalink
capitalize envs
Browse files Browse the repository at this point in the history
  • Loading branch information
KwilLuke committed Oct 4, 2024
1 parent bf0293b commit b3ac477
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:
with:
submodules: true

# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '20.x'
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

# - name: Cache Node.js modules
# uses: actions/cache@v2
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-node-
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Set up Go
uses: actions/setup-go@v5
Expand Down Expand Up @@ -90,7 +90,6 @@ jobs:
go work init && go work use . ./test ./core
task build:docker
cd -
ls
cd .github/workflows
docker compose up -d
cd -
Expand All @@ -105,7 +104,7 @@ jobs:
chain_id=`curl -X POST http://localhost:8484/rpc/v1 -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "id": 1, "method": "user.chain_info", "params": {}}' | jq -r '.result.chain_id'`
echo "Chain ID: $chain_id"
echo "run KWIL-JS TEST in private mode against kwild(http:localhost:8484), with $chain_id"
PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001 CHAIN_ID=$chain_id GATEWAY_ON=false GAS_ON=false PRIVATE_MODE=true KWIL_PROVIDER=http://localhost:8484 npm run integration
PRIVATE_KEY=0000000000000000000000000000000000000000000000000000000000000001 CHAIN_ID=$chain_id GATEWAY_ON=FALSE GAS_ON=FALSE PRIVATE_MODE=TRUE KWIL_PROVIDER=http://localhost:8484 npm run integration
- name: Cleanup Docker
if: always()
Expand Down
2 changes: 1 addition & 1 deletion tests/kwil.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ import { bytesToString } from '../dist/utils/serial';
import { base64ToBytes } from '../dist/utils/base64';
import { Account, ChainInfo } from '../dist/core/network';

describe('Kwil DB types', () => {
describe.only('Kwil DB types', () => {
const kwilSigner = new KwilSigner(wallet, address);
const dbid = kwil.getDBID(address, 'variable_test');

Expand Down

0 comments on commit b3ac477

Please sign in to comment.