Bump codecov/codecov-action from 6.0.1 to 7.0.0 #94
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 checks | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| # lint: | |
| # name: Lint Python Code Base with Ruff | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v6 | |
| # - uses: astral-sh/ruff-action@v3 | |
| # with: | |
| # version: "latest" | |
| # args: "check" | |
| # src: "./reVeal" | |
| # - uses: astral-sh/ruff-action@v3 | |
| # with: | |
| # version: "latest" | |
| # args: "format --check" | |
| # src: "./reVeal" | |
| locked-tests: | |
| # needs: lint | |
| name: Pixi-Locked Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 8 | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| persist-credentials: false | |
| - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 | |
| with: | |
| pixi-version: v0.62.2 | |
| locked: true | |
| cache: true | |
| cache-write: false | |
| environments: dev | |
| - run: | | |
| pixi reinstall -e dev --locked NLR-reVeal | |
| tests: | |
| # needs: lint | |
| name: Python Tests (Pixi) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 8 | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| persist-credentials: false | |
| - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 | |
| with: | |
| pixi-version: v0.62.2 | |
| locked: true | |
| cache: true | |
| cache-write: ${{ github.ref == 'refs/heads/main' }} | |
| environments: dev | |
| - run: | | |
| pixi reinstall -e dev NLR-reVeal | |
| pixi run -e dev tests | |
| mamba-test: | |
| # needs: lint | |
| name: Mamba Test | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| persist-credentials: false | |
| - name: Install Environment | |
| uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 | |
| with: | |
| environment-file: environment.yml | |
| cache-environment: true | |
| - name: Install Package | |
| shell: bash -l {0} | |
| run: | | |
| python -m pip install .[test] | |
| - name: Run Pytest | |
| shell: bash -l {0} | |
| run: | | |
| python -m pytest -v --disable-warnings -m "not skip_ci" |