Skip to content

Commit

Permalink
Merge pull request #6408 from MetRonnie/actions
Browse files Browse the repository at this point in the history
GH actions: Ubuntu 24
  • Loading branch information
hjoliver authored Oct 14, 2024
2 parents 6c10575 + 2a3e479 commit a19a86e
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.8', '3.9', '3.10', '3.11']
include:
- os: 'ubuntu-22.04'
python: '3.7'
- os: 'macos-latest'
python: '3.8'
steps:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
fail-fast: false # don't stop on first failure
matrix:
os: ['ubuntu-latest']
python-version: ['3.7', '3.8', '3.10', '3.11', '3']
python-version: ['3.8', '3.10', '3.11', '3']
include:
# mac os test
- os: 'ubuntu-22.04'
python-version: '3.7'
- os: 'macos-latest'
python-version: '3.9' # oldest supported version
# non-utc timezone test
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
os: ['ubuntu-22.04']
python-version: ['3.7']
test-base: ['tests/f']
chunk: ['1/4', '2/4', '3/4', '4/4']
Expand All @@ -56,20 +56,20 @@ jobs:
platform: '_local_background*'
# tests/k
- name: 'flaky'
os: 'ubuntu-latest'
os: 'ubuntu-22.04'
python-version: '3.7'
test-base: 'tests/k'
chunk: '1/1'
platform: '_local_background* _local_at*'
# remote platforms
- name: '_remote_background_indep_poll'
os: 'ubuntu-latest'
os: 'ubuntu-22.04'
python-version: '3.7'
test-base: 'tests/f tests/k'
chunk: '1/1'
platform: '_remote_background_indep_poll _remote_at_indep_poll'
- name: '_remote_background_indep_tcp'
os: 'ubuntu-latest'
os: 'ubuntu-22.04'
test-base: 'tests/f tests/k'
python-version: '3.7'
chunk: '1/1'
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test_tutorial_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ jobs:
test:
strategy:
matrix:
python-version: ['3.7', '3']
runs-on: ubuntu-latest
include:
- os: 'ubuntu-latest'
python-version: '3'
- os: 'ubuntu-22.04'
python-version: '3.7'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: configure python
Expand Down
2 changes: 0 additions & 2 deletions etc/bin/swarm
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,9 @@ prompt () {
case $USR in
[Yy])
return 0
break
;;
[Nn])
return 1
break
;;
esac
done
Expand Down
1 change: 1 addition & 0 deletions tests/flakyfunctional/cylc-poll/16-execution-time-limit.t
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ run_ok "${TEST_NAME_BASE}-validate" cylc validate "${WORKFLOW_NAME}"
workflow_run_ok "${TEST_NAME_BASE}-run" \
cylc play --reference-test -v --no-detach "${WORKFLOW_NAME}" --timestamp
#-------------------------------------------------------------------------------
# shellcheck disable=SC2317
cmp_times () {
# Test if the times $1 and $2 are within $3 seconds of each other.
python3 -u - "$@" <<'__PYTHON__'
Expand Down
1 change: 1 addition & 0 deletions tests/flakyfunctional/xtriggers/00-wall_clock.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# Test clock xtriggers
. "$(dirname "$0")/test_header"

# shellcheck disable=SC2317
run_workflow() {
cylc play --no-detach --debug "$1" \
-s "START='$2'" -s "HOUR='$3'" -s "OFFSET='$4'"
Expand Down
1 change: 0 additions & 1 deletion tests/functional/lib/bash/test_header
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,6 @@ for SKIP in ${CYLC_TEST_SKIP}; do
# Deliberately print variable substitution syntax unexpanded
# shellcheck disable=SC2016
skip_all 'this test is in $CYLC_TEST_SKIP.'
break
fi
done

Expand Down
1 change: 1 addition & 0 deletions tests/functional/reload/17-graphing-change.t
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#-------------------------------------------------------------------------------
set_test_number 12

# shellcheck disable=SC2317
grep_workflow_log_n_times() {
TEXT="$1"
N_TIMES="$2"
Expand Down

0 comments on commit a19a86e

Please sign in to comment.