Skip to content

Commit 914ffd5

Browse files
committed
ci: copier update
1 parent 10d6c2f commit 914ffd5

File tree

6 files changed

+45
-4
lines changed

6 files changed

+45
-4
lines changed

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: 3f79959
2+
_commit: 3561fcd
33
_src_path: gh:scipp/copier_template
44
description: Reflectometry data reduction for the European Spallation Source
55
max_python: '3.13'
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Nightly test using lower bound dependencies
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '30 1 * * 1-5'
7+
8+
jobs:
9+
setup:
10+
name: Setup variables
11+
runs-on: 'ubuntu-24.04'
12+
outputs:
13+
min_python: ${{ steps.vars.outputs.min_python }}
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Get Python version for other CI jobs
17+
id: vars
18+
run: echo "min_python=$(< .github/workflows/python-version-ci)" >> "$GITHUB_OUTPUT"
19+
20+
tests:
21+
name: Tests at lower bound
22+
needs: setup
23+
strategy:
24+
matrix:
25+
os: ['ubuntu-24.04']
26+
python:
27+
- version: '${{needs.setup.outputs.min_python}}'
28+
runs-on: ${{ matrix.os }}
29+
env:
30+
ESS_PROTECTED_FILESTORE_USERNAME: ${{ secrets.ESS_PROTECTED_FILESTORE_USERNAME }}
31+
ESS_PROTECTED_FILESTORE_PASSWORD: ${{ secrets.ESS_PROTECTED_FILESTORE_PASSWORD }}
32+
steps:
33+
- uses: actions/checkout@v4
34+
- uses: astral-sh/setup-uv@v6
35+
with:
36+
python-version: ${{ matrix.python.version }}
37+
- run: uv run --extra=test --resolution=lowest-direct pytest

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ repos:
3636
- id: codespell
3737
additional_dependencies:
3838
- tomli
39+
exclude_types:
40+
- svg
3941
- repo: https://github.com/pre-commit/pygrep-hooks
4042
rev: v1.10.0
4143
hooks:

docs/about/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Development
44

5-
ESSreflectometry is an open source project by the [European Spallation Source ERIC](https://europeanspallationsource.se/) (ESS).
5+
ESSreflectometry is an open source project by the [European Spallation Source ERIC](https://ess.eu/) (ESS).
66

77
## License
88

9-
ESSreflectometry is available as open source under the [BSD-3 license](https://opensource.org/licenses/BSD-3-Clause).
9+
ESSreflectometry is available as open source under the [BSD-3 license](https://opensource.org/license/BSD-3-Clause).
1010

1111
## Citing ESSreflectometry
1212

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
'sphinx_autodoc_typehints',
3333
'sphinx_copybutton',
3434
'sphinx_design',
35-
"sphinxcontrib.bibtex",
35+
'sphinxcontrib.bibtex',
36+
'sphinxcontrib.autodoc_pydantic',
3637
'nbsphinx',
3738
'myst_parser',
3839
]

requirements/docs.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-r base.in
2+
autodoc-pydantic
23
ipykernel
34
ipython!=8.7.0 # Breaks syntax highlighting in Jupyter code cells.
45
myst-parser

0 commit comments

Comments
 (0)