Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

locked-tests:
# needs: lint
name: Pixi-Locked Tests
name: Pixi-Locked Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -47,10 +47,10 @@ jobs:
cache: true
cache-write: false
environments: dev
activate-environment: false

- run: |
pixi reinstall -e dev --locked reVeal
pixi run -e dev --locked tests
pixi reinstall -e dev --locked NLR-reVeal

tests:
# needs: lint
Expand All @@ -76,9 +76,10 @@ jobs:
cache: true
cache-write: ${{ github.ref == 'refs/heads/main' }}
environments: dev
activate-environment: false

- run: |
pixi reinstall -e dev reVeal
pixi reinstall -e dev NLR-reVeal
pixi run -e dev tests

mamba-test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
cache: true
cache-write: false
environments: dev
activate-environment: false

- name: Generate coverage report
run: |
pixi reinstall -e dev --locked reVeal
pixi reinstall -e dev --locked NLR-reVeal
pixi run -e dev --locked tests

- name: Upload coverage to Codecov
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
locked: true
cache: false # Don't use cache because we use the ``doc`` environment
environments: doc
activate-environment: false

- name: Build Docs
run: pixi run -e doc python-docs # This errors on warnings
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
deploy:
name: Build and upload wheels
permissions:
id-token: write
contents: read
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -25,6 +26,7 @@ jobs:
locked: true
cache: false
environments: build
activate-environment: false

- name: Build and publish
run: pixi run -e build publish-pypi
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
reVeal
******

|License| |Ruff| |Pixi| |SWR|
|License| |Zenodo| |Ruff| |Pixi| |SWR| |Codecov|

.. |PythonV| image:: https://badge.fury.io/py/reVeal.svg
:target: https://pypi.org/project/reVeal/
Expand All @@ -22,8 +22,11 @@ reVeal
.. |SWR| image:: https://img.shields.io/badge/SWR--25--147_-blue?label=NLR
:alt: Static Badge

.. |Zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17633670.svg
:target: https://doi.org/10.5281/zenodo.17633670
.. |Zenodo| image:: https://zenodo.org/badge/1038758980.svg
:target: https://doi.org/10.5281/zenodo.17984036
Comment thread
ppinchuk marked this conversation as resolved.

.. |Codecov| image:: https://codecov.io/github/NREL/reVeal/graph/badge.svg?token=NXBPNUPT3Y
:target: https://codecov.io/github/NREL/reVeal

.. inclusion-intro

Expand Down