Skip to content

Commit

Permalink
examples ci added
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed May 23, 2022
1 parent 01a13e1 commit c2e425d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tests
on: push
jobs:
examples:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: cross-contract-call
run: cd examples/cross-contract-call && yarn && yarn build && yarn test && cd ../..
- name: fungible-token
run: cd examples/fungible-token && yarn && yarn build && yarn test && cd ../..
- name: non-fungible-token
run: cd examples/non-fungible-token && yarn && yarn build && yarn test && cd ../..
- name: status-message
run: cd examples/status-message && yarn && yarn build && yarn test && cd ../..
2 changes: 0 additions & 2 deletions .github/workflows/unit-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ jobs:
- name: Install modules
run: yarn
- name: Run tests
env:
NODE_ENV: ci
run: yarn test

0 comments on commit c2e425d

Please sign in to comment.