-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from MridulS/copier_bump
Copier and tox deps bump
- Loading branch information
Showing
29 changed files
with
231 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: a052529 | ||
_commit: 5c4fd02 | ||
_src_path: gh:scipp/copier_template | ||
description: SANS data reduction for the European Spallation Source | ||
max_python: '3.12' | ||
max_python: '3.13' | ||
min_python: '3.10' | ||
namespace_package: ess | ||
nightly_deps: plopp,sciline,scippneutron,scippnexus,scipp,essreduce | ||
orgname: scipp | ||
prettyname: ESSsans | ||
projectname: esssans | ||
related_projects: Scipp,ScippNexus,ScippNeutron,Sciline,Plopp,ESSreduce | ||
year: 2024 | ||
year: 2025 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ on: | |
jobs: | ||
formatting: | ||
name: Formatting and static analysis | ||
runs-on: 'ubuntu-22.04' | ||
runs-on: 'ubuntu-24.04' | ||
outputs: | ||
min_python: ${{ steps.vars.outputs.min_python }} | ||
min_tox_env: ${{ steps.vars.outputs.min_tox_env }} | ||
|
@@ -19,15 +19,15 @@ jobs: | |
- name: Get Python version for other CI jobs | ||
id: vars | ||
run: | | ||
echo "min_python=$(cat .github/workflows/python-version-ci)" >> $GITHUB_OUTPUT | ||
echo "min_tox_env=py$(cat .github/workflows/python-version-ci | sed 's/\.//g')" >> $GITHUB_OUTPUT | ||
echo "min_python=$(< .github/workflows/python-version-ci)" >> "$GITHUB_OUTPUT" | ||
echo "min_tox_env=py$(sed 's/\.//g' < .github/workflows/python-version-ci)" >> "$GITHUB_OUTPUT" | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version-file: '.github/workflows/python-version-ci' | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --all-files | ||
- uses: pre-commit-ci/lite-action@v1.0.3 | ||
- uses: pre-commit-ci/lite-action@v1.1.0 | ||
if: always() | ||
with: | ||
msg: Apply automatic formatting | ||
|
@@ -37,7 +37,7 @@ jobs: | |
needs: formatting | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-22.04'] | ||
os: ['ubuntu-24.04'] | ||
python: | ||
- version: '${{needs.formatting.outputs.min_python}}' | ||
tox-env: '${{needs.formatting.outputs.min_tox_env}}' | ||
|
@@ -53,6 +53,6 @@ jobs: | |
uses: ./.github/workflows/docs.yml | ||
with: | ||
publish: false | ||
linkcheck: ${{ contains(matrix.variant.os, 'ubuntu') && github.ref == 'refs/heads/main' }} | ||
linkcheck: ${{ github.ref == 'refs/heads/main' }} | ||
branch: ${{ github.head_ref == '' && github.ref_name || github.head_ref }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Windows and MacOS weekly tests | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 2 * * 1' | ||
|
||
jobs: | ||
pytox: | ||
name: Python and Tox env | ||
runs-on: 'ubuntu-24.04' | ||
outputs: | ||
min_python: ${{ steps.vars.outputs.min_python }} | ||
min_tox_env: ${{ steps.vars.outputs.min_tox_env }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Get Python version for other CI jobs | ||
id: vars | ||
run: | | ||
echo "min_python=$(cat .github/workflows/python-version-ci)" >> $GITHUB_OUTPUT | ||
echo "min_tox_env=py$(cat .github/workflows/python-version-ci | sed 's/\.//g')" >> $GITHUB_OUTPUT | ||
tests: | ||
name: Tests | ||
needs: pytox | ||
strategy: | ||
matrix: | ||
os: ['macos-latest', 'windows-latest'] | ||
python: | ||
- version: '${{needs.pytox.outputs.min_python}}' | ||
tox-env: '${{needs.pytox.outputs.min_tox_env}}' | ||
uses: ./.github/workflows/test.yml | ||
with: | ||
os-variant: ${{ matrix.os }} | ||
python-version: ${{ matrix.python.version }} | ||
tox-env: ${{ matrix.python.tox-env }} | ||
|
||
docs: | ||
needs: tests | ||
uses: ./.github/workflows/docs.yml | ||
with: | ||
publish: false | ||
branch: ${{ github.head_ref == '' && github.ref_name || github.head_ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.