forked from cylc/cylc-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into HEAD
* upstream/master: (350 commits) Apply suggestions from code review [skip ci] Added missing union type import (cylc#5906) set CYLC_DEBUG env var when set-verbosity DEBUG (cylc#5854) coverage: exclude report-timings and set 90% as the lower limit lint: Warn users that `CYLC_VERSION={{CYLC_VERSION}}` is deprecated (cylc#5890) Add a new entry_point for xtriggers (cylc#5831) Update copyright year Tests: fix cached datetime arithmetic contamination between tests using different calendar modes Replace cyclers functional reftests with integration reftests Simplify integration reftest Replace pre-initial functional reftests with integration reftests Integration tests: add a simpler reftest fixture auto update syntax files id: catch traceback in ID parsing actions: downgrade macos runners to macos 11 (cylc#5892) Feat.lint obsolete vars (cylc#5879) dump: restrict window to n=0 (cylc#5600) Add chained offset logic for FCP (cylc#5885) Test.example replace a reftest (cylc#5860) GH Actions artifact name fixes ...
- Loading branch information
Showing
407 changed files
with
17,325 additions
and
4,847 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
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ __pycache__ | |
!cylc | ||
!dockerfiles/* | ||
!setup* | ||
!MANIFEST.in |
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 |
---|---|---|
|
@@ -22,15 +22,14 @@ jobs: | |
steps: | ||
|
||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.MERGE_SHA }} | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
# return to 3.x once compatible with 3.10+ (pyuv) | ||
python-version: '3.9' | ||
python-version: '3.x' | ||
|
||
- name: Get the version number | ||
uses: cylc/release-actions/stage-2/get-version-from-pr@v1 | ||
|
@@ -39,7 +38,7 @@ jobs: | |
uses: cylc/release-actions/build-python-package@v1 | ||
|
||
- name: Publish distribution to PyPI | ||
uses: pypa/[email protected].5 | ||
uses: pypa/[email protected].11 | ||
with: | ||
user: __token__ # uses the API token feature of PyPI - least permissions possible | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
|
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,20 @@ | ||
name: Sync PR | ||
|
||
on: | ||
push: | ||
branches: | ||
- '8.*.x' | ||
schedule: | ||
- cron: '33 04 * * 1-5' # 04:33 UTC Mon-Fri | ||
workflow_dispatch: | ||
inputs: | ||
head_branch: | ||
description: Branch to merge into master | ||
required: true | ||
|
||
jobs: | ||
sync: | ||
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1 | ||
with: | ||
head_branch: ${{ inputs.head_branch }} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build | ||
|
||
# build the project whenever the configuration is changed | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- 'README.md' # check markdown is valid | ||
- 'MANIFEST.in' # check packaging | ||
- 'pyproject.toml' # check build config | ||
- 'setup.cfg' # check deps and project config | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest'] | ||
python: ['3.7', '3.8', '3.9', '3.10', '3.11'] | ||
include: | ||
- os: 'macos-latest' | ||
python: '3.7' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Build | ||
uses: cylc/release-actions/build-python-package@v1 | ||
|
||
- name: Inspect | ||
run: | | ||
unzip -l dist/*.whl | tee files | ||
grep 'cylc_flow.*.dist-info/COPYING' files | ||
grep 'cylc/flow/py.typed' files | ||
grep 'cylc/flow/etc' files | ||
grep 'cylc/flow/etc/cylc-completion.bash' files |
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.