Skip to content

Commit

Permalink
Workflow minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Aug 28, 2024
1 parent 4f89e21 commit 351a412
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_and_test_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on:
push:
branches: [ develop ] # run this on all commits to the develop branch

defaults:
run:
shell: bash

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FC: gfortran-13
Python_REQUIRED_VERSION: 3.12.3 # 3.12.2 not available on Ubuntu 24 GHA
shell: bash

jobs:
build_and_test:
Expand Down Expand Up @@ -101,4 +104,4 @@ jobs:

- name: Test
working-directory: ./build
run: ctest -C Release -E Basement -j 3
run: ctest -C Release -E Basement -j ${{ matrix.nproc }}
3 changes: 0 additions & 3 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: clang-format
on:
push:
branches: [ develop ]
# Sequence of patterns matched against refs/tags
tags:
- '*'
pull_request:
branches: [ develop ]

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/custom_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ on: [push]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Custom Check
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout EnergyPlus
uses: actions/checkout@v4

- name: Set up Python 3.10
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'

- name: Set up LaTeX
run: sudo apt update && sudo apt install -y texlive texlive-xetex texlive-science poppler-utils
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/windows_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,5 @@ jobs:
working-directory: package
run: ls

# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Run Package Tests
run: python checkout/scripts/package_tests/runner.py --verbose --msvc 2022 win64 package/

0 comments on commit 351a412

Please sign in to comment.