Skip to content

Merge pull request #193 from BibliothecaDAO/aymericdelab-patch-2 #34

Merge pull request #193 from BibliothecaDAO/aymericdelab-patch-2

Merge pull request #193 from BibliothecaDAO/aymericdelab-patch-2 #34

Workflow file for this run

name: test-contracts
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up environment
run: |
sudo apt-get update
sudo apt-get install -y curl
- name: Download Dojo release artifact
run: |
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v0.3.0-rc8/dojo_v0.3.0-rc8_linux_amd64.tar.gz
tar -xzf dojo-linux-x86_64.tar.gz
sudo mv sozo /usr/local/bin/
- name: Run Dojo Build
run: |
cd contracts && sozo build
- name: Run Dojo Test
run: |
cd contracts && sozo test -f eternum