Merge pull request #40 from pyoceans/dependabot/github_actions/github… #62
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: Full Tests | |
| # no permissions by default | |
| permissions: {} | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| python-version: [ "3.10", "3.11", "3.12", "3.13" , "3.14" ] | |
| os: [ ubuntu-latest ] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v 6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup Micromamba Python ${{ matrix.python-version }} | |
| uses: mamba-org/setup-micromamba@add3a49764cedee8ee24e82dfde87f5bc2914462 # v2.0.7 | |
| with: | |
| environment-name: TEST | |
| init-shell: bash | |
| create-args: >- | |
| python=${{ matrix.python-version }} --file requirements.txt --file requirements-dev.txt --channel conda-forge | |
| - name: Install seawater | |
| shell: bash -l {0} | |
| run: | | |
| python -m pip install -e . --no-deps --force-reinstall | |
| - name: Full Tests | |
| shell: bash -l {0} | |
| run: | | |
| python -m pytest -rxs -m "not octave" --doctest-modules --pyargs seawater |