fix(viz): added check if cv has errors #7
This file contains hidden or 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: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| julia-version: ['1.10', '1.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # PRO: Python di sistema + cache pip | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| cache-dependency-path: | | |
| deps/python/requirements.txt | |
| requirements.txt | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - uses: julia-actions/cache@v2 | |
| # PRO: install minimale per far funzionare PyCall in modo deterministico | |
| - name: Install minimal Python deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install numpy | |
| # Lega PyCall alla python appena installata e testa | |
| - name: Instantiate, bind PyCall to system Python, test | |
| shell: bash | |
| run: | | |
| julia --project -e ' | |
| using Pkg | |
| ENV["PYTHON"] = Sys.which("python") | |
| Pkg.instantiate() | |
| Pkg.build("PyCall") | |
| Pkg.test() | |
| ' |