Skip to content

Test ci

Test ci #24

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/nightly-a44f0d789de3a502a8c2d06097e050100493ab54/dojo_nightly_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