Skip to content

Commit

Permalink
Merge branch 'main' into dokken/gsoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs authored Dec 8, 2023
2 parents 7a4d64c + 2f0bb1b commit 1cf4e32
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
build:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- main
schedule:
- cron: "0 7 * * 1"
workflow_dispatch:

jobs:
run-tests:
Expand All @@ -25,5 +26,15 @@ jobs:
name: Run flake8 on tests
- run: flake8 _tools/
name: Run flake8 on tools
- run: GITHUB_TOKEN=${{ secrets.symfembot_token }} python3 -m pytest _test/ --has-fenicsx 1
- run: |
TOKEN=${{ secrets.symfembot_token }}
if [ -n "${TOKEN}" ]; then
echo "token=${TOKEN}" >> ${GITHUB_OUTPUT}
else
echo "token=${{ github.token }}" >> ${GITHUB_OUTPUT}
fi
shell: bash
name: Determine which token to use when running tests
id: token
- run: GITHUB_TOKEN=${{ steps.token.outputs.token }} python3 -m pytest _test/ --has-fenicsx 1
name: Run tests
2 changes: 1 addition & 1 deletion documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ number of applications of FEniCS to problems in fluid mechanics, solid
mechanics, electromagnetics, and geophysics. The book was published in
2012, and was based on the legacy FEniCS library, so the code examples
in the book are out of date. However, the book still gives a good
description of the many of the concepts in FEniCSx.
description of many of the concepts in FEniCSx.

The book is available as a [free
ebook](http://launchpad.net/fenics-book/trunk/final/+download/fenics-book-2011-10-27-final.pdf),
Expand Down

0 comments on commit 1cf4e32

Please sign in to comment.