Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
try to get ci working
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Jan 26, 2023
1 parent a3a0d06 commit 0e3aaef
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('lock.json', 'deps/**/*.ts') }}
key: ${{ runner.os }}-deno-${{ hashFiles('deps/**/*.ts') }}
- name: Setup Polkadot
uses: ./.github/actions/setup-binary
with:
Expand Down
63 changes: 43 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,43 @@
# name: Test
# on:
# pull_request:
# push:
# branches:
# - main
# jobs:
# test:
# name: Run Tests
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
# with:
# deno-version: v1.x
# - name: Setup polkadot
# uses: ./.github/actions/setup-polkadot
# - run: deno lint
# - run: deno task star
# - run: deno task test
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@9db7f66e8e16b5699a514448ce994936c63f0d54 # v1.1.0
with:
deno-version: v1.x
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('deps/**/*.ts') }}
- name: Setup Polkadot
uses: ./.github/actions/setup-binary
with:
binary-name: polkadot
binary-version: v0.9.36
binary-github: https://github.com/paritytech/polkadot
- name: Setup Cumulus
uses: ./.github/actions/setup-binary
with:
binary-name: polkadot-parachain
binary-version: v0.9.33
binary-github: https://github.com/paritytech/cumulus
- name: Setup Zombienet
uses: ./.github/actions/setup-binary
with:
binary-name: zombienet-linux
binary-version: v1.3.18
binary-github: https://github.com/paritytech/zombienet
- run: deno task star
- run: deno lint
- run: deno task test

0 comments on commit 0e3aaef

Please sign in to comment.