CI #1257
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 | |
on: | |
push: | |
branches: | |
- master | |
- 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: | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
type: ["solc_upgrade", "linux","solc"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install solc-select | |
run: | | |
sudo pip install . | |
solc-select install all | |
- name: Run Tests | |
env: | |
TEST_TYPE: ${{ matrix.type }} | |
run: | | |
bash scripts/test_${TEST_TYPE}.sh |