-
Notifications
You must be signed in to change notification settings - Fork 2
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 #71 from scipp/unpinned-nightly
Copier update
- Loading branch information
Showing
20 changed files
with
179 additions
and
57 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
4 changes: 2 additions & 2 deletions
4
.github/workflows/nightly.yml → .github/workflows/nightly_at_main.yml
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,43 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) 2023 Scipp contributors (https://github.com/scipp) | ||
|
||
name: Nightly tests at latest release | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * 1-5' | ||
|
||
jobs: | ||
setup: | ||
name: Setup variables | ||
runs-on: 'ubuntu-20.04' | ||
outputs: | ||
min_python: ${{ steps.vars.outputs.min_python }} | ||
release_tag: ${{ steps.release.outputs.release_tag }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # history required so we can determine latest release tag | ||
- name: Get last release tag from git | ||
id: release | ||
run: echo "release_tag=$(git describe --tags --abbrev=0 --match '[0-9]*.[0-9]*.[0-9]*')" >> $GITHUB_OUTPUT | ||
- name: Get Python version for other CI jobs | ||
id: vars | ||
run: echo "min_python=$(cat .github/workflows/python-version-ci)" >> $GITHUB_OUTPUT | ||
|
||
tests: | ||
name: Tests | ||
needs: setup | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-20.04'] | ||
python: | ||
- version: '${{needs.setup.outputs.min_python}}' | ||
tox-env: 'nightly' | ||
uses: ./.github/workflows/test.yml | ||
with: | ||
os-variant: ${{ matrix.os }} | ||
python-version: ${{ matrix.python.version }} | ||
tox-env: ${{ matrix.python.tox-env }} | ||
checkout_ref: ${{ needs.setup.outputs.release_tag }} |
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,43 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Copyright (c) 2023 Scipp contributors (https://github.com/scipp) | ||
|
||
name: Unpinned tests at latest release | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 2 * * 1' | ||
|
||
jobs: | ||
setup: | ||
name: Setup variables | ||
runs-on: 'ubuntu-20.04' | ||
outputs: | ||
min_python: ${{ steps.vars.outputs.min_python }} | ||
release_tag: ${{ steps.release.outputs.release_tag }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # history required so we can determine latest release tag | ||
- name: Get last release tag from git | ||
id: release | ||
run: echo "release_tag=$(git describe --tags --abbrev=0 --match '[0-9]*.[0-9]*.[0-9]*')" >> $GITHUB_OUTPUT | ||
- name: Get Python version for other CI jobs | ||
id: vars | ||
run: echo "min_python=$(cat .github/workflows/python-version-ci)" >> $GITHUB_OUTPUT | ||
|
||
tests: | ||
name: Tests | ||
needs: setup | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-20.04'] | ||
python: | ||
- version: '${{needs.setup.outputs.min_python}}' | ||
tox-env: 'unpinned' | ||
uses: ./.github/workflows/test.yml | ||
with: | ||
os-variant: ${{ matrix.os }} | ||
python-version: ${{ matrix.python.version }} | ||
tox-env: ${{ matrix.python.tox-env }} | ||
checkout_ref: ${{ needs.setup.outputs.release_tag }} |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Generated by 'tox -e deps', DO NOT EDIT MANUALLY!' | ||
graphlib-backport | ||
graphlib-backport |
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.