Skip to content

Commit

Permalink
fix(validatiojn): Fix link to validation in pollination.solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Oct 17, 2024
1 parent 4f1251c commit 1319b4b
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 18 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Unit tests
strategy:
matrix:
python-version: ['3.10']
python-version: ['3.10', '3.12']
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -25,12 +25,7 @@ jobs:
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: run tests
run: python -m pytest --cov=. tests/
- name: run test coverage
run: |
echo "Coveralls is no longer supported"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python -m pytest tests/

deploy:
name: Deploy to GitHub and PyPI
Expand All @@ -42,7 +37,7 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: set up node # we need node for for semantic release
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -112,7 +107,7 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: set up node # we need node for for redocly
uses: actions/setup-node@v2.1.2
with:
Expand Down
13 changes: 5 additions & 8 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
click==7.1.2;python_version<'3.8'
click==8.1.3;python_version>='3.8'
coverage==5.5
coveralls==2.2.0
pytest==6.2.4
pytest-cov==2.12.0
twine==3.4.1
wheel==0.38.1
setuptools==65.5.1
importlib-metadata==4.3.1
pytest==8.3.2
twine==5.1.1
wheel==0.44.0
setuptools==75.1.0
importlib-metadata==8.5.0
1 change: 1 addition & 0 deletions docs/comparison-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Energy Simulation Parameter Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/model.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Model Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/project-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Project Info Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/simulation-parameter.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Energy Simulation Parameter Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/sync-instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Energy Simulation Parameter Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
1 change: 1 addition & 0 deletions docs/validation-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Honeybee Energy Simulation Parameter Schema</title>
<!-- needed for adaptive design -->
<link rel="icon" type="image/x-icon" href="https://github.com/ladybug-tools/artwork/raw/refs/heads/master/icons_bugs/ico/honeybee.ico">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
2 changes: 1 addition & 1 deletion honeybee_schema/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ValidationError(BaseModel):
'adjacency error). The third two digits are used to give a unique ID to '
'each condition moving upwards from more specific/detailed objects/errors '
'to coarser/more abstract objects/errors. A full list of error codes can '
'be found here: https://docs.pollination.cloud/user-manual/get-started/'
'be found here: https://docs.pollination.solutions/user-manual/rhino-plugin/'
'troubleshooting/help-with-modeling-error-codes'
)

Expand Down

0 comments on commit 1319b4b

Please sign in to comment.