Merge pull request #287 from Loop3D/release-please--branches--master #170
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: "🎳 Tester" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**.py' | |
| - .github/workflows/tester.yml | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - '**.py' | |
| - .github/workflows/tester.yml | |
| workflow_dispatch: | |
| jobs: | |
| continuous-integration: | |
| name: Continuous integration ${{ matrix.os }} python ${{ matrix.python-version }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ${{ fromJSON(vars.BUILD_OS)}} | |
| python-version: ${{ fromJSON(vars.PYTHON_VERSIONS)}} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Installing dependencies | |
| shell: bash -l {0} | |
| run: | | |
| conda install -c conda-forge numpy scipy scikit-image scikit-learn pyvista pandas pytest networkx osqp matplotlib -y | |
| - name: Building and install | |
| shell: bash -l {0} | |
| run: | | |
| pip install . --user | |
| - name: pytest | |
| shell: bash -l {0} | |
| run: | | |
| pytest |