Refactoring Scale, Rugosity, and PatchSampling Tools; Work area shadow fix #551
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
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| name: Linux build | |
| jobs: | |
| py-check: | |
| runs-on: ${{ matrix.config.os }} | |
| name: ${{ matrix.config.os }} (${{ matrix.config.py }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - { os: ubuntu-latest, py: "3.10" } | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.config.py }} | |
| - name: Install uv | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install uv | |
| - name: Install dependencies | |
| run: | | |
| uv pip install -r requirements.txt | |
| uv pip install -e . | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| - name: Test import coralnet_toolbox | |
| run: | | |
| python -c "import coralnet_toolbox; print('Successfully imported coralnet_toolbox')" | |
| env: | |
| UV_SYSTEM_PYTHON: 1 |