Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rs028 committed Aug 14, 2024
1 parent 8e7d97f commit 8f32f96
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13]
fortran: [10, 11]
exclude: # gfortran-11, gfortran-12 not available for ubuntu-20.04
- os: ubuntu-20.04
fortran: 11
# exclude: # gfortran-11, gfortran-12 not available for ubuntu-20.04
# - os: ubuntu-20.04
# fortran: 11
fail-fast: false

# -------------------------------------------------------------
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

# gfortran on macos
- name: Install gfortran-10 (macos-12)
if: matrix.os == 'macos-12' && matrix.fortran == 10
if: matrix.os == 'macos-12' && (matrix.fortran == 10 || matrix.fortran == 11)
run: brew install gcc@${{ matrix.fortran }}

- name: Install gfortran-10 and gfortran-11 (macos-13)
Expand Down Expand Up @@ -155,6 +155,6 @@ jobs:
- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-22.04' && matrix.fortran == 11
uses: codecov/codecov-action@v4 # https://github.com/marketplace/actions/codecov
uses: codecov/codecov-action@v3 # https://github.com/marketplace/actions/codecov
with:
gcov: true
22 changes: 11 additions & 11 deletions .github/workflows/tex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
# master branch)
pull_request:
branches: [ master ]
# paths:
# - 'doc/latex/**/*.tex'
# - 'doc/figures/**/*.svg'
paths:
- 'doc/latex/**/*.tex'
- 'doc/figures/**/*.svg'

# Triggers when a push is made to the master branch (either by
# merging a pull request, or by direct commit)
Expand All @@ -50,9 +50,9 @@ jobs:
fetch-depth: 2
ref: ${{ github.ref }}

- name: Check Token Permissions
run: |
echo "Token Permissions: $(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/AtChem/AtChem2 | jq .permissions)"
# - name: Check Token Permissions
# run: |
# echo "Token Permissions: $(curl -sSL -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/AtChem/AtChem2 | jq .permissions)"

# -------------------------------------------------------------
# 2. Setup TeXLive and Inkscape (v1.x), then run the script to
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push
run: |
git add doc/AtChem2-Manual.pdf
git commit -m "Update AtChem2-Manual.pdf"
# git push origin HEAD:${{ github.ref }}
# - name: Commit and Push
# run: |
# git add doc/AtChem2-Manual.pdf
# git commit -m "Update AtChem2-Manual.pdf"
# # git push origin HEAD:${{ github.ref }}

0 comments on commit 8f32f96

Please sign in to comment.