Skip to content

wip: test

wip: test #541

Workflow file for this run

name: CI
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test-pact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get pact binary
run: |
mkdir bin
cd bin
wget https://github.com/kadena-io/pact/releases/download/v${{ inputs.version }}/pact-${{ inputs.version }}-linux-20.04.zip
unzip "pact*.zip"
chmod +x pact
cd ..
- name: Install z3 (ubuntu-18.04)
uses: pavpanchekha/setup-z3@0.2.0
with:
version: "4.8.10"
architecture: "x64"
distribution: "ubuntu-18.04"
# - name: Setup Pact
# uses: ./.github/actions/setup-pact
# with:
# version: "4.10.0"
- name: Test pact/marmalade.repl
uses: ./.github/actions/repl
with:
target: pact/marmalade.repl
- name: Test pact/policy-manager/policy-manager.repl
uses: ./.github/actions/repl
with:
target: pact/policy-manager/policy-manager.repl
- name: Test concrete collection-policy
uses: ./.github/actions/repl
with:
target: pact/concrete-policies/collection-policy/collection-policy-v1.repl
- name: Test concrete non-fungible-policy
uses: ./.github/actions/repl
with:
target: pact/concrete-policies/non-fungible-policy/non-fungible-policy-v1.repl
- name: Test concrete royalty-policy
uses: ./.github/actions/repl
with:
target: pact/concrete-policies/royalty-policy/royalty-policy-v1.repl
- name: Test concrete guard-policy
uses: ./.github/actions/repl
with:
target: pact/concrete-policies/guard-policy/guard-policy-v1.repl
- name: Test conventional auction sale contract
uses: ./.github/actions/repl
with:
target: pact/sale-contracts/conventional-auction/conventional-auction.repl