Skip to content

CI

CI #1122

Workflow file for this run

name: CI
defaults:
run:
# To load bashrc
shell: bash -ieo pipefail {0}
on:
push:
branches:
- main
- dev
pull_request:
schedule:
# run CI every day even if no PRs/merges occur
- cron: '0 12 * * *'
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: ${{fromJSON('["3.9", "3.10", "3.11", "3.12"]') }}
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
# Used by ci_test.sh
- name: Install dependencies in ${{ matrix.python }}
run: |
pip install .
- name: Run Tests in ${{ matrix.python }}
run: |
bash scripts/test_algorand_contracts.sh