CI #1035
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |