File tree Expand file tree Collapse file tree 11 files changed +1231
-993
lines changed
Expand file tree Collapse file tree 11 files changed +1231
-993
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : " Checkout GitHub Action"
14- uses : actions/checkout@v4
14+ uses : actions/checkout@v5
1515
1616 - name : Install the latest version of uv
1717 uses : astral-sh/setup-uv@v6
7272 name : dist-whl
7373 path : .
7474 - name : Upload artifact to the GitHub Release
75- uses : softprops/action-gh-release@v1
75+ uses : softprops/action-gh-release@v2
7676 if : github.ref_type == 'tag'
7777 with :
7878 files : " *.whl"
Original file line number Diff line number Diff line change 1818
1919jobs :
2020
21- deploy-ghcr-dev :
21+ build-container :
2222 runs-on : ubuntu-latest
2323 steps :
2424 - name : ' Checkout GitHub Action'
25- uses : actions/checkout@v4
25+ uses : actions/checkout@v5
2626
2727 - name : ' Login to GitHub Container Registry'
28- uses : docker/login-action@v1
28+ uses : docker/login-action@v3
2929 with :
3030 registry : ghcr.io
3131 username : ${{github.actor}}
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919 steps :
2020 - name : Checkout repository
21- uses : actions/checkout@v4
21+ uses : actions/checkout@v5
2222
2323 - name : Clone existing schemas branch content
2424 run : |
4141 popd
4242
4343 - name : Upload to GitHub Pages
44- uses : actions/upload-pages-artifact@v3
44+ uses : actions/upload-pages-artifact@v4
4545 with :
4646 path : schemas
4747
Original file line number Diff line number Diff line change 1515 shell : bash -l {0}
1616
1717 steps :
18- - uses : actions/checkout@v4
18+ - uses : actions/checkout@v5
1919
2020 - name : Install the latest version of uv
2121 uses : astral-sh/setup-uv@v6
3030 run : uv run pytest --cov=. tests/unit --ignore=tests --cov-branch --cov-report xml:coverage.xml
3131
3232 - name : Upload Coverage to Codecov
33- uses : codecov/codecov-action@v4
33+ uses : codecov/codecov-action@v5
3434 with :
3535 token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 66 ruff-check :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v4
9+ - uses : actions/checkout@v5
1010
1111 - uses : astral-sh/ruff-action@v3
1212
1313 ruff-format-check :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v5
1717
1818 - uses : astral-sh/ruff-action@v3
1919 with :
2222 ty-check :
2323 runs-on : ubuntu-latest
2424 steps :
25- - uses : actions/checkout@v4
25+ - uses : actions/checkout@v5
2626
2727 - name : Install the latest version of uv
2828 uses : astral-sh/setup-uv@v6
Original file line number Diff line number Diff line change @@ -255,4 +255,4 @@ cython_debug/
255255
256256# PyPI configuration file
257257.pypirc
258- src /nhp /_version.py
258+ src /nhp /model / _version.py
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[project ]
2- name = " nhp_model "
2+ name = " nhp-model "
33dynamic = [" version" ]
44description = " New Hospital Programme demand model"
55
@@ -116,7 +116,7 @@ pythonVersion = "3.11"
116116typeCheckingMode = " basic"
117117
118118[tool .setuptools_scm ]
119- version_file = " src/nhp/_version.py"
119+ version_file = " src/nhp/model/ _version.py"
120120
121121[tool .ty .src ]
122122exclude = [" notebooks" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments