Skip to content

Commit 167c18c

Browse files
committed
ci: update copier
1 parent 458c265 commit 167c18c

File tree

9 files changed

+17
-3
lines changed

9 files changed

+17
-3
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: 6848c57
2+
_commit: 101e594
33
_src_path: gh:scipp/copier_template
44
description: Reflectometry data reduction for the European Spallation Source
55
max_python: '3.12'

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
os-variant: ${{ matrix.os }}
4747
python-version: ${{ matrix.python.version }}
4848
tox-env: ${{ matrix.python.tox-env }}
49+
secrets: inherit
4950

5051
docs:
5152
needs: tests
@@ -54,3 +55,4 @@ jobs:
5455
publish: false
5556
linkcheck: ${{ contains(matrix.variant.os, 'ubuntu') && github.ref == 'refs/heads/main' }}
5657
branch: ${{ github.head_ref == '' && github.ref_name || github.head_ref }}
58+
secrets: inherit

.github/workflows/docs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
docs:
4343
name: Build documentation
4444
runs-on: 'ubuntu-22.04'
45+
env:
46+
ESS_PROTECTED_FILESTORE_USERNAME: ${{ secrets.ESS_PROTECTED_FILESTORE_USERNAME }}
47+
ESS_PROTECTED_FILESTORE_PASSWORD: ${{ secrets.ESS_PROTECTED_FILESTORE_PASSWORD }}
48+
4549
steps:
4650
- run: sudo apt install --yes graphviz pandoc
4751
- uses: actions/checkout@v4
@@ -65,7 +69,7 @@ jobs:
6569
name: docs_html
6670
path: html/
6771

68-
- uses: JamesIves/[email protected].1
72+
- uses: JamesIves/[email protected].3
6973
if: ${{ inputs.publish }}
7074
with:
7175
branch: gh-pages

.github/workflows/nightly_at_main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ jobs:
3131
os-variant: ${{ matrix.os }}
3232
python-version: ${{ matrix.python.version }}
3333
tox-env: ${{ matrix.python.tox-env }}
34+
secrets: inherit

.github/workflows/nightly_at_release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
python-version: ${{ matrix.python.version }}
3939
tox-env: ${{ matrix.python.tox-env }}
4040
checkout_ref: ${{ needs.setup.outputs.release_tag }}
41+
secrets: inherit

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ on:
4343
jobs:
4444
test:
4545
runs-on: ${{ inputs.os-variant }}
46+
env:
47+
ESS_PROTECTED_FILESTORE_USERNAME: ${{ secrets.ESS_PROTECTED_FILESTORE_USERNAME }}
48+
ESS_PROTECTED_FILESTORE_PASSWORD: ${{ secrets.ESS_PROTECTED_FILESTORE_PASSWORD }}
4649

4750
steps:
4851
- uses: actions/checkout@v4

.github/workflows/unpinned.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
python-version: ${{ matrix.python.version }}
3939
tox-env: ${{ matrix.python.tox-env }}
4040
checkout_ref: ${{ needs.setup.outputs.release_tag }}
41+
secrets: inherit

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ __pycache__/
2020
.pytest_cache
2121
.mypy_cache
2222
docs/generated/
23+
.ruff_cache
2324

2425
# Editor settings
2526
.idea/

requirements/make_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ def as_nightly(repo: str) -> str:
5555
version = f"cp{sys.version_info.major}{sys.version_info.minor}"
5656
base = "https://github.com/scipp/scipp/releases/download/nightly/scipp-nightly"
5757
suffix = "manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
58-
return "-".join([base, version, version, suffix])
58+
prefix = "scipp @ "
59+
return prefix + "-".join([base, version, version, suffix])
5960
return f"{repo} @ git+https://github.com/{org}/{repo}@main"
6061

6162

0 commit comments

Comments
 (0)