CI #1063
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: windows-2022 | |
strategy: | |
matrix: | |
python: | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
type: ["windows","solc"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install solc-select | |
run: | | |
pip install . --user | |
solc-select install all | |
- name: Run Tests | |
env: | |
TEST_TYPE: ${{ matrix.type }} | |
run: | | |
bash scripts/test_${TEST_TYPE}.sh | |
shell: bash |