[EJP] OCSmesh cleaned and optimized #77
Workflow file for this run
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: Python Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| types: | |
| - opened | |
| jobs: | |
| python-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Miniconda | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| auto-update-conda: true | |
| - name: Create conda environment | |
| run: conda create -n bluemath-tk python=${{ matrix.python-version }} | |
| - name: Run tests | |
| run: | | |
| source /usr/share/miniconda/etc/profile.d/conda.sh | |
| conda activate bluemath-tk | |
| pip install bluemath-tk | |
| python --version | |
| python -m unittest discover tests/datamining/ | |
| python -m unittest discover tests/downloaders/ | |
| python -m unittest discover tests/interpolation/ | |
| python -m unittest discover tests/wrappers/ |