Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macos 13 #65

Closed
wants to merge 328 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
de07f86
Merge pull request #5648 from MetRonnie/style-fix
hjoliver Jul 26, 2023
69e0879
Add CYLC_ variables to template engine globals.
hjoliver Jun 6, 2023
7f0d80b
Update change log.
hjoliver Jun 19, 2023
e1fdcf0
Add new unit test.
hjoliver Jul 26, 2023
4c491cb
Merge pull request #5647 from cylc/bump-dev
oliver-sanders Jul 26, 2023
e6f0925
Merge pull request #5644 from cylc/8.2.x
MetRonnie Jul 26, 2023
bffda20
Fix functional test.
hjoliver Jul 25, 2023
e4803ce
Merge pull request #5571 from hjoliver/jinja2-scheduler-context
wxtim Jul 26, 2023
9824de9
event handlers: improve docs
oliver-sanders Jul 28, 2023
f22b81e
Merge pull request #5649 from MetRonnie/actions
oliver-sanders Jul 28, 2023
6883e28
Merge pull request #5656 from cylc/8.2.x-sync
MetRonnie Aug 1, 2023
fcd34ab
Merge pull request #5655 from oliver-sanders/event-handler-docs
oliver-sanders Aug 1, 2023
5da32aa
data store: fix incorrect task state (#5650)
wxtim Aug 1, 2023
428065a
Merge pull request #5662 from cylc/8.2.x-sync
oliver-sanders Aug 1, 2023
a908645
Merge pull request #5663 from cylc/8.2.x-sync
oliver-sanders Aug 1, 2023
76db299
cycling exclusions: supress spurious warning for exclusion points
oliver-sanders Aug 2, 2023
6c3beff
Ensure that UUID is retrieved from database on workflow restart. (#5623)
wxtim Aug 3, 2023
54f4756
state totals adjustment
dwsutherland Aug 2, 2023
079a604
GH Actions: FF sync branch if possible
MetRonnie Aug 3, 2023
ea8ec4a
Merge pull request #5666 from cylc/8.2.x-sync
oliver-sanders Aug 7, 2023
d72105a
Merge pull request #5667 from MetRonnie/actions-sync
oliver-sanders Aug 7, 2023
5d96344
Merge pull request #5661 from dwsutherland/succeeded-state-totals-fix
oliver-sanders Aug 7, 2023
c3394d9
Merge pull request #5669 from cylc/8.2.x-sync
MetRonnie Aug 7, 2023
c2cf6b0
Fix incorrect clock-expire docs
MetRonnie Aug 9, 2023
1307d96
Merge pull request #5674 from MetRonnie/clock-expire-doc
oliver-sanders Aug 9, 2023
3f611c1
Merge pull request #5675 from cylc/8.2.x-sync
oliver-sanders Aug 10, 2023
768c376
Docs: fix hidden note
MetRonnie Aug 10, 2023
0fa96d0
Merge pull request #5679 from MetRonnie/doc
oliver-sanders Aug 10, 2023
3a8c9d5
data store: catch possible traceback
oliver-sanders Aug 10, 2023
c452aff
Cylc pause help fix (#5685)
hjoliver Aug 14, 2023
208e272
Merge pull request #5681 from oliver-sanders/uis/473
oliver-sanders Aug 14, 2023
a890101
Prepare release 8.2.1
github-actions[bot] Aug 14, 2023
8175949
Merge pull request #5686 from cylc/prepare-8.2.1
MetRonnie Aug 14, 2023
8d90413
Bump dev version (#5687)
github-actions[bot] Aug 14, 2023
d658eb6
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 (#5684)
dependabot[bot] Aug 15, 2023
46e1346
Merge branch 'master' into 8.2.x-sync
MetRonnie Aug 15, 2023
7ee1796
Merge pull request #5680 from cylc/8.2.x-sync
oliver-sanders Aug 15, 2023
5e709de
cylc play: print downgrade msg to stderr so that it shows in GUI
MetRonnie Aug 15, 2023
52aae8b
Merge pull request #5689 from MetRonnie/logging
oliver-sanders Aug 15, 2023
1884ef8
Change my_flow to my_workflow in CLI help.
hjoliver Aug 17, 2023
8583282
Make cylc-show m=0 message clearer.
hjoliver Aug 21, 2023
3fab888
workflow-state command back compat.
hjoliver Nov 23, 2022
8e01386
Update cylc/flow/scripts/workflow_state.py
hjoliver Jan 6, 2023
d049051
Style fix.
hjoliver Jan 6, 2023
4afc0f2
New unit test.
hjoliver Aug 21, 2023
24be9e0
Update change log.
hjoliver Aug 21, 2023
5afeb39
Better back-compat comment.
hjoliver Aug 21, 2023
fb6d49e
Merge pull request #5700 from hjoliver/fix-cli-msg
oliver-sanders Aug 22, 2023
96ddc35
Merge pull request #5699 from hjoliver/fix-cli-help-my_flow
oliver-sanders Aug 22, 2023
89b2b52
Fix mistake
MetRonnie Aug 22, 2023
e1a5642
Merge pull request #5692 from cylc/8.2.x-sync
oliver-sanders Aug 22, 2023
2ac41ea
Add test for workflow_state xtrigger back compat
MetRonnie Aug 23, 2023
17d6012
Merge pull request #5237 from hjoliver/workflow-state-back-compat
hjoliver Aug 24, 2023
6120eda
Merge pull request #5703 from cylc/8.2.x-sync
hjoliver Aug 24, 2023
2888d95
file parsing: check for CWD existence (#5694)
hjoliver Aug 25, 2023
930758d
Fix upgrader for max active cylc points to runahead limit. (#5704)
wxtim Aug 25, 2023
4720326
Forward arbitrary environment variables over SSH
ScottWales Aug 28, 2023
833f89c
Flake8 fix
ScottWales Aug 29, 2023
2536745
Add changelog
ScottWales Aug 29, 2023
3bccf00
Fix initial runahead limit, for offset recurrence start (#5708)
hjoliver Aug 29, 2023
d900bfc
Merge branch 'master' into 8.2.x-sync
wxtim Aug 29, 2023
801c1be
Merge pull request #5706 from cylc/8.2.x-sync
oliver-sanders Aug 29, 2023
09eeb81
Log command issuer for all commands (#5693)
hjoliver Aug 29, 2023
37d980c
Merge pull request #5711 from cylc/8.2.x-sync
hjoliver Sep 4, 2023
cc3fc3c
Doc: hide autoclass objects from `flow.cylc` reference
MetRonnie Sep 4, 2023
5f949d7
Fix data-store reloaded flag
dwsutherland Sep 1, 2023
c808238
extend reloaded flag to play/restart/initial-burst
dwsutherland Sep 5, 2023
5b76dba
Bump actions/checkout from 3 to 4 (#5717)
dependabot[bot] Sep 6, 2023
9198b94
Upper pin coverage at 7.3.0 to prevent Mypy error (#5723)
wxtim Sep 7, 2023
1cbc0ae
Merge pull request #5725 from cylc/8.2.x-sync
MetRonnie Sep 7, 2023
221f340
Update cylc/flow/cycling/iso8601.py [skip ci]
hjoliver Sep 7, 2023
e8d0ddb
Merge pull request #5664 from oliver-sanders/5659
hjoliver Sep 7, 2023
0bb867b
Merge pull request #5726 from cylc/8.2.x-sync
hjoliver Sep 11, 2023
63ceffb
Merge pull request #5710 from MetRonnie/doc
wxtim Sep 11, 2023
bdd2e97
Merge pull request #5728 from MetRonnie/doc
oliver-sanders Sep 11, 2023
9707f0a
Move config option to under 'run hosts'
ScottWales Sep 13, 2023
ccde837
actions: exclude mypy with more recent python version
oliver-sanders Sep 19, 2023
6157644
Merge pull request #5735 from oliver-sanders/mypy-matplotlib
oliver-sanders Sep 19, 2023
cfb3f76
Merge pull request #5737 from cylc/8.2.x-sync
oliver-sanders Sep 19, 2023
f5a27d9
completion_server: minor fixes
oliver-sanders Sep 20, 2023
a06688a
added hub url config to globalcfg (#5733)
markgrahamdawson Sep 21, 2023
90c31b6
client: don't attempt to clean up old contact files in task messages
oliver-sanders Sep 22, 2023
3e9068c
Merge pull request #5740 from oliver-sanders/dont-detect-old-contact-…
hjoliver Sep 26, 2023
8ff3082
Remove reference to job host
ScottWales Sep 27, 2023
23d450a
Merge pull request #5739 from oliver-sanders/completion_server++
wxtim Sep 27, 2023
d4ca490
Merge pull request #5745 from cylc/8.2.x-sync
wxtim Sep 27, 2023
8053ead
Fix metadata
ScottWales Sep 28, 2023
e5b3302
Improve CLI 'Done' stdout.
hjoliver Oct 5, 2023
a023aee
opt outputs: submitted is implicitly required (#5755)
oliver-sanders Oct 5, 2023
361e507
Prepare release 8.2.2
github-actions[bot] Oct 5, 2023
fc5ee96
dump: increase default comms timeout
oliver-sanders Oct 5, 2023
09975aa
ClientTimeout: improve error message
oliver-sanders Oct 5, 2023
1af786a
Merge pull request #5758 from cylc/prepare-8.2.2
MetRonnie Oct 5, 2023
de776d0
Bump dev version (#5759)
github-actions[bot] Oct 5, 2023
920f935
Merge branch 'master' into 8.2.x-sync
MetRonnie Oct 5, 2023
79936b6
Merge pull request #5757 from cylc/8.2.x-sync
oliver-sanders Oct 5, 2023
859e33a
Merge pull request #5756 from hjoliver/command-log-string
oliver-sanders Oct 5, 2023
d02d66c
Fix execution time limit polling intervals [cylc 8] (#5753)
wxtim Oct 5, 2023
c4edaab
Merge pull request #5761 from cylc/8.2.x-sync
hjoliver Oct 6, 2023
440311e
Merge pull request #5760 from oliver-sanders/dump-timeout
hjoliver Oct 7, 2023
522dc98
clarify SLURM job handler docs (#5748)
wxtim Oct 11, 2023
9a0ef7b
Merge pull request #5765 from cylc/8.2.x-sync
oliver-sanders Oct 11, 2023
0655c91
give a more useful error message if remote init fails (#5720)
wxtim Oct 11, 2023
1409896
Merge pull request #5766 from cylc/8.2.x-sync
wxtim Oct 12, 2023
571b27f
Tui 1.0
oliver-sanders Sep 1, 2023
b175218
tui: update screenshots
oliver-sanders Sep 14, 2023
6f3f170
tui: fix an obscure freezing issue
oliver-sanders Sep 28, 2023
653317f
graphql: remove extraLogs field (#5672)
oliver-sanders Oct 17, 2023
cd409a2
speed up import time (#5770)
oliver-sanders Oct 17, 2023
756f304
back-compat: submitted is implicitly required
oliver-sanders Oct 18, 2023
ac755ea
Allow isodatetime 3.1
MetRonnie Oct 19, 2023
07a330c
Merge pull request #5776 from oliver-sanders/5771
hjoliver Oct 19, 2023
38cedcd
Merge pull request #5715 from dwsutherland/reload-delta-flag
hjoliver Oct 19, 2023
30cb615
Merge pull request #5779 from cylc/8.2.x-sync
oliver-sanders Oct 23, 2023
6bff17f
Merge pull request #5778 from MetRonnie/isodatetime
oliver-sanders Oct 23, 2023
ba6a3ae
Merge pull request #5784 from cylc/8.2.x-sync
oliver-sanders Oct 23, 2023
2e4b96d
Fix cylc show satisfied xtriggers info
dwsutherland Oct 20, 2023
1af0470
Merge pull request #5780 from dwsutherland/cylc-show-satisfied-xtigs-…
oliver-sanders Oct 24, 2023
c19826a
Cylc Show clock xtriggers as ISO8601 not seconds epoch.
wxtim Oct 20, 2023
03dd3de
added a test
wxtim Oct 24, 2023
18ab042
Merge pull request #5785 from cylc/8.2.x-sync
wxtim Oct 24, 2023
af0b92f
Remove PYTHONPATH items from sys.path
wxtim Sep 21, 2023
9040caf
Use cylc/release-actions branch-sync reusable workflow
MetRonnie Oct 24, 2023
6562524
Merge pull request #5782 from wxtim/poc.return_real_value_for_wallclo…
hjoliver Oct 24, 2023
6eb5509
Merge branch 'master' into 8.2.x-sync
hjoliver Oct 24, 2023
c796b24
Merge pull request #5787 from cylc/8.2.x-sync
hjoliver Oct 25, 2023
8a0b98e
Merge pull request #5786 from MetRonnie/actions
oliver-sanders Oct 25, 2023
093cb13
Apply suggestions from code review
wxtim Oct 25, 2023
4a7d3e1
Merge branch 'master' into 8.2.x-sync
MetRonnie Oct 25, 2023
02a8e73
Update changes.d/5727.break.md
wxtim Oct 25, 2023
8d75c04
Update cylc/flow/etc/tutorial/cylc-forecasting-workflow/etc/python-jo…
wxtim Oct 25, 2023
85a2d64
Merge pull request #5788 from cylc/8.2.x-sync
oliver-sanders Oct 25, 2023
9f4d0fb
Merge pull request #5727 from wxtim/feature.cache_pythonpath
hjoliver Oct 25, 2023
8606f93
Test the simulation mode code. (#5712)
wxtim Oct 26, 2023
ac071c6
Set forward variables by platform
ScottWales Oct 27, 2023
8833e3a
respond to @joehickson comments (#5744)
wxtim Oct 27, 2023
f768aad
Merge pull request #5792 from cylc/8.2.x-sync
MetRonnie Oct 27, 2023
abfe30d
Merge pull request #5709 from ScottWales/ssh-forward-vars
hjoliver Oct 29, 2023
dcfaa0a
Exclude broken pytest-asyncio version; remove pytest-mock (#5797)
MetRonnie Oct 31, 2023
eb4ff48
Merge pull request #5798 from cylc/8.2.x-sync
MetRonnie Oct 31, 2023
36a6ce9
Fix test polluted by env vars (#5796)
MetRonnie Oct 31, 2023
034157e
replace pkg_resources with importlib_metadata and packaging
oliver-sanders Oct 24, 2023
a351f09
actions: move lint checks into their own job
oliver-sanders Oct 26, 2023
e1245a6
no data-store graph rewalk
dwsutherland Jul 28, 2023
3a988d9
Re-create data-store n-window on resize
dwsutherland Aug 3, 2023
6977987
window depth finder
dwsutherland Aug 9, 2023
dfb6c34
Fix graph walk bug and pruning regeneration
dwsutherland Sep 6, 2023
5726dda
nEdgeDistance API field
dwsutherland Aug 11, 2023
c3fb497
graph depth API args
dwsutherland Aug 11, 2023
c06cfdd
tests added
dwsutherland Aug 2, 2023
a2366ae
increment_graph_window: test transient tasks
oliver-sanders Sep 15, 2023
9b7eb68
xtrigger TODO comment ref
dwsutherland Sep 19, 2023
b77e697
increment_graph_window: test deltas and window resizing
oliver-sanders Sep 19, 2023
57bea9d
increment_graph_window: test cache
oliver-sanders Oct 11, 2023
2ab4022
fix updated deltas test
dwsutherland Oct 20, 2023
8163ecb
fix prune at start
dwsutherland Oct 27, 2023
bc1a017
review fix-ups
dwsutherland Oct 27, 2023
0249372
Fix parentheses on RHS of trigger expression bug
MetRonnie Nov 1, 2023
0a408ad
Fix type annotation
MetRonnie Nov 1, 2023
fd1b820
Merge pull request #5660 from dwsutherland/data-store-avoid-graph-rewalk
oliver-sanders Nov 2, 2023
5c21860
Added changelog for #5660
MetRonnie Nov 2, 2023
050d30f
Merge pull request #5805 from MetRonnie/changelog
oliver-sanders Nov 2, 2023
0dbed44
Merge remote-tracking branch 'upstream/master' into HEAD
oliver-sanders Nov 2, 2023
238ce28
Add missing test cases for `next()`/`previous()` (#5777)
MetRonnie Nov 2, 2023
b23a486
Fix.all xtriggers on an itask are the same (#5791)
wxtim Nov 2, 2023
dff33b4
Regenerate protobuf pb2 post-merge
MetRonnie Nov 2, 2023
fe01d80
Prepare release 8.2.3
github-actions[bot] Nov 2, 2023
f5dec23
Merge pull request #5807 from cylc/prepare-8.2.3
MetRonnie Nov 2, 2023
c6c1ef8
Bump dev version (#5808)
github-actions[bot] Nov 3, 2023
7b2058c
tui: tidy dangling interfaces
oliver-sanders Oct 13, 2023
b4e1117
Merge pull request #5790 from oliver-sanders/5775
wxtim Nov 8, 2023
de23766
tui: log view
oliver-sanders Nov 2, 2023
c303aa9
tui: show view
oliver-sanders Nov 8, 2023
e5339e4
Fix mypy config
MetRonnie Nov 10, 2023
c5714f4
Update changelog [skip ci]
MetRonnie Nov 10, 2023
a85b652
Add Oliver's comments to integration test docs. [skip ci]
hjoliver Nov 11, 2023
4b93b5a
Merge pull request #5815 from hjoliver/integration-test-readme
oliver-sanders Nov 13, 2023
869edf8
Merge pull request #5804 from cylc/8.2.x-sync
oliver-sanders Nov 13, 2023
d6cc772
Merge pull request #5801 from MetRonnie/parentheses
MetRonnie Nov 13, 2023
6b18e35
Merge branch 'master' into 8.2.x-sync
MetRonnie Nov 13, 2023
99fa0f5
Support Python 3.12 (#5794)
wxtim Nov 13, 2023
6b1da95
Address Mypy & Flake8 identified problems
MetRonnie Nov 13, 2023
41c38eb
Merge pull request #5817 from cylc/8.2.x-sync
oliver-sanders Nov 13, 2023
1f9c03a
Fix broken tests (#5819)
wxtim Nov 15, 2023
88b2798
Lint: Add a check for indentation being 4N spaces. (#5772)
wxtim Nov 16, 2023
df649d9
Merge branch 'master' into 8.2.x-sync
wxtim Nov 20, 2023
eb769d8
Merge pull request #5823 from cylc/8.2.x-sync
MetRonnie Nov 20, 2023
e692a06
Fix `IndepQueueManager` test (#5832)
MetRonnie Nov 21, 2023
8140c6f
made reinstall work on multiple workflows
Nov 1, 2023
c86f3e9
Merge pull request #5803 from markgrahamdawson/reinstall-multi-workflow
oliver-sanders Nov 22, 2023
1e3fe28
protobuf 4.24.4 upgrade (#5828)
dwsutherland Nov 22, 2023
afa988f
Refactor.lint (#5718)
wxtim Nov 23, 2023
b134297
remove cylc task dependencies env var (#5836)
markgrahamdawson Nov 23, 2023
38ca9d6
`cylc lint`: add rule to catch `rose date`
MetRonnie Nov 21, 2023
49edddf
GH Actions: limit tutorial workflow to Py3.11
MetRonnie Nov 23, 2023
8b2feae
log_vc_info: handle long command output (#5821)
oliver-sanders Nov 23, 2023
9594f29
Merge pull request #5842 from MetRonnie/actions
oliver-sanders Nov 23, 2023
5adec87
Merge branch 'master' into 8.2.x-sync
MetRonnie Nov 23, 2023
1dace6e
Merge pull request #5834 from cylc/8.2.x-sync
oliver-sanders Nov 23, 2023
04a5b18
Merge pull request #5838 from MetRonnie/lint
wxtim Nov 23, 2023
b96a4d0
lint - S011 no longer warns against 0{{a}} (#5841)
ColemanTom Nov 23, 2023
6ff67a4
Fix bad TOML example in `cylc lint` docstring (#5843)
wxtim Nov 23, 2023
6201469
Merge 'master' into 8.2.x-sync
MetRonnie Nov 24, 2023
0a19dc9
Merge pull request #5846 from cylc/8.2.x-sync
wxtim Nov 24, 2023
5b99123
Improve changelog entries
MetRonnie Nov 24, 2023
ddeaa97
Merge pull request #5731 from oliver-sanders/tui++
oliver-sanders Nov 27, 2023
4cf7532
tests/i: fix flaky tui/test_updater tests
oliver-sanders Nov 28, 2023
debd0d2
Merge pull request #5848 from MetRonnie/changelog
hjoliver Nov 29, 2023
6c03bc0
Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11 (#5851)
dependabot[bot] Nov 29, 2023
3f8edcd
tests/i: tui - attempt to stabilise tests
oliver-sanders Nov 29, 2023
732ef98
tests/i: fix flaky tui/test_updater tests (#5849)
oliver-sanders Nov 30, 2023
ae04dd3
Merge pull request #5850 from cylc/8.2.x-sync
oliver-sanders Nov 30, 2023
b0115e6
Update tests/integration/tui/conftest.py
oliver-sanders Nov 30, 2023
381e071
Merge pull request #5852 from oliver-sanders/tui-wait-for-scan-before…
wxtim Nov 30, 2023
da365bf
Maintain order for CYLC_PYTHONPATH (#5853)
wxtim Nov 30, 2023
eff84ca
Async pipe decorator: preserve wrapped func signature
MetRonnie Dec 1, 2023
f09b3ef
Merge pull request #5855 from MetRonnie/pipe-signature
oliver-sanders Dec 4, 2023
22860a5
Merge pull request #5857 from cylc/8.2.x-sync
oliver-sanders Dec 4, 2023
f5be5bf
remove lint (#5856)
oliver-sanders Dec 4, 2023
1911a81
Merge pull request #5859 from cylc/8.2.x-sync
wxtim Dec 4, 2023
2f1f529
Exclude broken pytest-asyncio version
MetRonnie Dec 4, 2023
da8ab21
Merge pull request #5861 from MetRonnie/pytest-asyncio
oliver-sanders Dec 4, 2023
64417e5
tui: avoid deprecated import (#5858)
oliver-sanders Dec 4, 2023
a965b91
Merge pull request #5862 from cylc/8.2.x-sync
MetRonnie Dec 4, 2023
0a8bbfa
Improve error message for `cylc cat-log` (#5830)
wxtim Dec 5, 2023
265c21d
Merge pull request #5863 from cylc/8.2.x-sync
wxtim Dec 6, 2023
d0cdbc2
Test.sim mode changes on restart (#5789)
wxtim Dec 7, 2023
b6efda4
Bump actions/setup-python from 4 to 5 (#5870)
dependabot[bot] Dec 7, 2023
d9669a8
Fix misspelling of 'Rakiura'. (#5869)
hjoliver Dec 8, 2023
994b774
Merge pull request #5871 from cylc/8.2.x-sync
wxtim Dec 8, 2023
043b5e4
Increase default `cylc clean` remote timeout to 5m & allow ISO duration
MetRonnie Dec 8, 2023
4d17bb1
Improve error message for `cylc clean` remote timeout
MetRonnie Dec 8, 2023
6f34d15
Changelog
MetRonnie Dec 8, 2023
ec8eec8
Do not allow plugins to act on global.cylc (#5839)
wxtim Dec 12, 2023
5518b48
Validate `cylc clean --timeout` option more thoroughly
MetRonnie Dec 12, 2023
ae25de0
tests/i: add reflog utility
oliver-sanders Nov 17, 2023
be46a11
tests/u, tests/i: set TZ variable before running tests
oliver-sanders Nov 17, 2023
49879a2
actions: add non-utc job to fast tests
oliver-sanders Nov 27, 2023
de7cb17
Update .github/workflows/test_fast.yml
oliver-sanders Nov 28, 2023
fa340fa
tests/i: update tui screenshot
oliver-sanders Dec 13, 2023
fe43c7c
Merge pull request #5872 from MetRonnie/cylc-clean
wxtim Dec 13, 2023
6f62691
Merge pull request #5826 from oliver-sanders/reflog
MetRonnie Dec 14, 2023
2f599a4
Bump actions/download-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
58b7607
Bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 15, 2023
b878692
GH Actions artifact name fixes
MetRonnie Dec 15, 2023
5133f72
Merge remote-tracking branch 'upstream/dependabot/github_actions/acti…
MetRonnie Dec 15, 2023
8c4cd7e
Test.example replace a reftest (#5860)
wxtim Dec 18, 2023
ad66532
Merge pull request #5881 from cylc/dependabot/github_actions/actions/…
wxtim Dec 18, 2023
5a2cf39
action: try macos 13 runners
oliver-sanders Dec 19, 2023
7616945
try macos 11
oliver-sanders Dec 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 7 additions & 8 deletions .github/workflows/1_create_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: cylc/release-actions/stage-1/sanitize-inputs@v1

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.BASE_REF }}
fetch-depth: 0 # need to fetch all commits to check contributors
Expand All @@ -30,7 +30,7 @@ jobs:
uses: cylc/release-actions/check-shortlog@v1

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -43,15 +43,14 @@ jobs:
init-file: 'cylc/flow/__init__.py'
pypi-package-name: 'cylc-flow'

- name: Update "released on" date in changelog
continue-on-error: true
uses: cylc/release-actions/stage-1/update-changelog-release-date@v1
with:
changelog-file: 'CHANGES.md'

- name: Test build
uses: cylc/release-actions/build-python-package@v1

- name: Generate changelog
run: |
python3 -m pip install -q towncrier
towncrier build --yes

- name: Create pull request
uses: cylc/release-actions/stage-1/create-release-pr@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/2_auto_publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ 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:
python-version: '3.x'

Expand All @@ -38,7 +38,7 @@ jobs:
uses: cylc/release-actions/build-python-package@v1

- name: Publish distribution to PyPI
uses: pypa/[email protected].7
uses: pypa/[email protected].11
with:
user: __token__ # uses the API token feature of PyPI - least permissions possible
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- '5.0'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Docker container
run: |
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Upload artifact
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Upload cylc-run artifact
name: 'cylc-run (bash-${{ matrix.bash-version }})'
path: cylc-run
114 changes: 7 additions & 107 deletions .github/workflows/branch_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,117 +4,17 @@ on:
push:
branches:
- '8.*.x'
schedule:
- cron: '33 04 * * 1-5' # 04:33 UTC Mon-Fri
workflow_dispatch:
inputs:
branch:
head_branch:
description: Branch to merge into master
required: true

jobs:
sync:
runs-on: ubuntu-latest
timeout-minutes: 5
env:
BRANCH: ${{ inputs.branch || github.ref_name }}
steps:
- name: Check branch name
shell: python
run: |
import os
import sys

branch = os.environ['BRANCH'].strip()
if not branch:
sys.exit("::error::Branch name cannot be empty")
if branch.endswith('deconflict'):
sys.exit("::error::Do not run this workflow for already-created deconflict branches")

with open(os.environ['GITHUB_ENV'], 'a') as F:
print(f'BRANCH={branch}', file=F)
print(f'DECONFLICT_BRANCH={branch}-deconflict', file=F)

- name: Check for existing PR
id: check-pr
shell: python
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
import os
import json
import subprocess
import sys

for env_var in ('BRANCH', 'DECONFLICT_BRANCH'):
branch = os.environ[env_var]
cmd = f'gh pr list -B master -H {branch} -s open --json url -R ${{ github.repository }}'
ret = subprocess.run(
cmd, shell=True, capture_output=True, text=True
)
print(ret.stdout)
if ret.stderr:
print(f"::error::{ret.stderr}")
if ret.returncode:
sys.exit(ret.returncode)
if json.loads(ret.stdout):
print(f"::notice::Found existing PR for {branch}")
sys.exit(0)

print("No open PRs found")
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
print('continue=true', file=f)

- name: Checkout
if: steps.check-pr.outputs.continue
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master

- name: Configure git
if: steps.check-pr.outputs.continue
uses: cylc/release-actions/configure-git@v1

- name: Attempt merge
id: merge
if: steps.check-pr.outputs.continue
continue-on-error: true
run: git merge "origin/${BRANCH}"

- name: Diff
id: diff
if: steps.merge.outcome == 'success'
run: |
if [[ "$(git rev-parse HEAD)" == "$(git rev-parse origin/master)" ]]; then
echo "::notice::master is up to date with $BRANCH"
exit 0
fi
if git diff HEAD^ --exit-code --stat; then
echo "::notice::No diff between master and $BRANCH"
exit 0
fi
echo "continue=true" >> $GITHUB_OUTPUT

- name: Create deconflict branch
if: steps.merge.outcome == 'failure'
run: |
git merge --abort
git checkout -b "$DECONFLICT_BRANCH" "origin/${BRANCH}"
git push origin "$DECONFLICT_BRANCH"
echo "BRANCH=${DECONFLICT_BRANCH}" >> $GITHUB_ENV

- name: Open PR
if: steps.merge.outcome == 'failure' || steps.diff.outputs.continue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BODY: |
Please do a **normal merge**, not squash merge

---

Triggered by `${{ github.event_name }}`
run: |
gh pr create --head "$BRANCH" \
--title "🤖 Merge ${BRANCH} into master" \
--body "$BODY"

gh pr edit "$BRANCH" --add-label "sync" || true
uses: cylc/release-actions/.github/workflows/branch-sync.yml@v1
with:
head_branch: ${{ inputs.head_branch }}
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
python: '3.7'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shortlog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # need to fetch all commits to check contributors

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 10
steps:
- name: checkout cylc-flow
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: build conda env
run: |
Expand Down
99 changes: 63 additions & 36 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,39 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false # Don't let a failed MacOS run stop the Ubuntu runs
fail-fast: false # don't stop on first failure
matrix:
os: ['ubuntu-latest']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.7', '3.8', '3.10', '3.11', '3']
include:
- os: 'macos-latest'
python-version: '3.7'
# mac os test
- os: 'macos-13'
python-version: '3.7' # oldest supported version

# non-utc timezone test
- os: 'ubuntu-latest'
python-version: '3.9' # not the oldest, not the most recent version
time-zone: 'XXX-09:35'

env:
# Use non-UTC time zone
TZ: ${{ matrix.time-zone }}
PYTEST_ADDOPTS: --cov --cov-append -n 5 --color=yes

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Apt-Get Install
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y shellcheck sqlite3
sudo apt-get install -y sqlite3

- name: Install
run: |
Expand All @@ -48,31 +58,10 @@ jobs:
- name: Configure git # Needed by the odd test
uses: cylc/release-actions/configure-git@v1

- name: Style
if: startsWith(matrix.os, 'ubuntu')
run: |
flake8
etc/bin/shellchecker

- name: Typing
if: startsWith(matrix.os, 'ubuntu')
run: mypy

- name: Doctests
timeout-minutes: 4
run: |
pytest cylc/flow

- name: Unit Tests
timeout-minutes: 4
timeout-minutes: 5
run: |
pytest tests/unit

- name: Bandit
if: ${{ matrix.python-version == '3.7' }}
# https://github.com/PyCQA/bandit/issues/658
run: |
bandit -r --ini .bandit cylc/flow
pytest cylc/flow tests/unit

- name: Integration Tests
timeout-minutes: 6
Expand All @@ -81,7 +70,7 @@ jobs:

- name: Upload failed tests artifact
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cylc-run (${{ matrix.os }} py-${{ matrix.python-version }})
path: ~/cylc-run/
Expand All @@ -92,26 +81,64 @@ jobs:
coverage report

- name: Upload coverage artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage_${{ matrix.os }}_py-${{ matrix.python-version }}
path: coverage.xml
retention-days: 7

lint:
runs-on: 'ubuntu-latest'
timeout-minutes: 10
steps:
- name: Apt-Get Install
run: |
sudo apt-get update
sudo apt-get install -y shellcheck

- name: Checkout
uses: actions/checkout@v4

# note: exclude python 3.10+ from mypy checks as these produce false
# positives in installed libraries for python 3.7
- name: Configure Python
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Install
run: |
pip install -e ."[tests]"

- name: Flake8
run: flake8

- name: Bandit
run: |
bandit -r --ini .bandit cylc/flow

- name: Shellchecker
run: etc/bin/shellchecker

- name: MyPy
run: mypy

- name: Towncrier
run: towncrier build --draft

- name: Linkcheck
if: startsWith(matrix.python-version, '3.10')
run: pytest -m linkcheck --dist=load tests/unit
run: pytest -m linkcheck --dist=load --color=yes -n 10 tests/unit/test_links.py

codecov:
needs: test
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download coverage artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Codecov upload
uses: codecov/codecov-action@v3
Expand Down
Loading
Loading