• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CSHS-CWRA / RavenPy / 13322507902
81%
main: %

Build:
Build:
LAST BUILD BRANCH: raven-hydro-050
DEFAULT BRANCH: main
Ran 14 Feb 2025 04:32AM UTC
Jobs 6
Files 45
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Feb 2025 04:27AM UTC coverage: 81.288%. First build
13322507902

push

github

web-flow
disable HydroShare_integration.ipynb because not working anymore (#460)

```
  ______ RavenPy-master/docs/notebooks/HydroShare_integration.ipynb::Cell 0 ______
  Notebook cell execution failed
  Cell 0: Cell execution caused an exception

  Input:
  import os

  from hsclient import HydroShare, Token

  # Authentication method using username and password
  """
  username = 'XXXXX'
  password = 'XXXXX'
  hs = HydroShare(username=username, password=password)
  """

  client_id = os.environ.get("HYDROSHARE_AUTH_CLIENT_ID", "<your_client_id>")
  access_token = os.environ.get("HYDROSHARE_AUTH_TOKEN", "<your_auth_token>")

  token = Token(access_token=access_token, token_type="bearer")
  hs = HydroShare(client_id=client_id, token=token)

  Traceback:

  ---------------------------------------------------------------------------
  ValidationError                           Traceback (most recent call last)
  Cell In[1], line 15
       12 client_id = os.environ.get("HYDROSHARE_AUTH_CLIENT_ID", "<your_client_id>")
       13 access_token = os.environ.get("HYDROSHARE_AUTH_TOKEN", "<your_auth_token>")
  ---> 15 token = Token(access_token=access_token, token_type="bearer")
       16 hs = HydroShare(client_id=client_id, token=token)

  File /opt/conda/envs/birdy/lib/python3.11/site-packages/pydantic/main.py:176, in BaseModel.__init__(self, **data)
      174 # `__tracebackhide__` tells pytest and some other tools to omit this function from tracebacks
      175 __tracebackhide__ = True
  --> 176 self.__pydantic_validator__.validate_python(data, self_instance=self)

  ValidationError: 4 validation errors for Token
  scope
    Field required [type=missing, input_value={'access_token': '<your_a... 'token_type': 'bearer'}, input_type=dict]
      For further information visit https://errors.pydantic.dev/2.7/v/missing
  state
    Field required [type=missing, input_value={'access_token': '<your_a... 'token_type': 'bearer'}, input_t... (continued)

3497 of 4302 relevant lines covered (81.29%)

4.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-conda_3.10_ubuntu-latest - 13322507902.1 14 Feb 2025 04:35AM UTC 45
81.17
GitHub Action Run
2 run-conda_3.12_ubuntu-latest - 13322507902.2 14 Feb 2025 04:35AM UTC 45
81.29
GitHub Action Run
3 run-Python3.12-ubuntu-latest - 13322507902.3 14 Feb 2025 04:35AM UTC 45
81.29
GitHub Action Run
4 run-conda_3.11_ubuntu-latest - 13322507902.4 14 Feb 2025 04:35AM UTC 45
81.03
GitHub Action Run
5 run-Python3.11-ubuntu-latest - 13322507902.5 14 Feb 2025 04:35AM UTC 45
81.29
GitHub Action Run
6 run-Python3.10-ubuntu-latest - 13322507902.6 14 Feb 2025 04:35AM UTC 45
81.17
GitHub Action Run
Source Files on build 13322507902
  • Tree
  • List 45
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 24846b40 on github
  • Prev Build on master (#13270278437)
  • Next Build on master (#13322513928)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc