Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 authored Jan 14, 2025
2 parents 18f0977 + 6e15071 commit 9e88fa8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
update-changelog:
name: "Update CHANGELOG (on release)"
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
Expand All @@ -82,7 +82,7 @@ jobs:
pull-request-name:
if: github.event_name == 'pull_request'
name: Check the name of the pull-request
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check pull-request name
uses: ansys/actions/check-pr-title@v8
Expand All @@ -92,7 +92,7 @@ jobs:

doc-style:
name: "Documentation style ${{ matrix.folder }}"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
folder: ["doc", "examples"]
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

check-vulnerabilities:
name: "Check library vulnerabilities"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: ansys/actions/check-vulnerabilities@v8
with:
Expand All @@ -156,7 +156,7 @@ jobs:

docs-build:
name: "Build documentation"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: doc-style
timeout-minutes: 60
outputs:
Expand Down Expand Up @@ -359,7 +359,7 @@ jobs:
build-test-remote-matrix:
name: "Build remote test matrix"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:

build-test-remote:
name: "Remote: ${{ matrix.mapdl-version }}"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [smoke-tests, build-test-remote-matrix]
timeout-minutes: 35
strategy:
Expand Down Expand Up @@ -599,7 +599,7 @@ jobs:
build-test-local-minimal-matrix:
name: "Build test matrix for minimal and local"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down Expand Up @@ -630,7 +630,7 @@ jobs:

build-test-ubuntu-local:
name: "Local: ${{ matrix.mapdl-version }}"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
needs: [smoke-tests, build-test-local-minimal-matrix]
timeout-minutes: 75
Expand Down Expand Up @@ -785,7 +785,7 @@ jobs:

build-test-ubuntu-minimal:
name: "Local-min: ${{ matrix.mapdl-version }}"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
needs: [smoke-tests, build-test-local-minimal-matrix]
timeout-minutes: 75
Expand Down Expand Up @@ -913,7 +913,7 @@ jobs:

build-test-ubuntu-console:
name: "Local-min-console: ${{ matrix.mapdl-version }}"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
needs: [smoke-tests, build-test-local-minimal-matrix]
timeout-minutes: 75
Expand Down Expand Up @@ -1115,7 +1115,7 @@ jobs:
package:
name: "Package library"
needs: [build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal, docs-build]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: "Build library source and wheel artifacts"
uses: ansys/actions/build-library@v8
Expand All @@ -1128,7 +1128,7 @@ jobs:
name: "Release project"
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
needs: [package, update-changelog]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
Expand All @@ -1154,7 +1154,7 @@ jobs:
upload-docs-release:
name: "Upload release documentation"
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [release]
steps:
- name: "Deploy the stable documentation"
Expand All @@ -1170,7 +1170,7 @@ jobs:
upload-dev-docs:
name: "Upload dev documentation"
if: github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [docs-build]
steps:
- name: "Deploy the latest documentation"
Expand All @@ -1186,7 +1186,7 @@ jobs:
name: "Notify failed build"
needs: [smoke-tests, docs-build, build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal]
if: failure() && github.event_name == 'schedule'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: "Open issue"
uses: jayqi/failed-build-issue-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
linkchecker:
name: Check Links
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
PYMAPDL_PORT: 21000 # default won't work on GitHub runners
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3659.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: pin ubuntu OS to 22.04.

0 comments on commit 9e88fa8

Please sign in to comment.