-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bp5 and improve pipelines (#8)
* Improve pipelines and skip bp5 test
- Loading branch information
Showing
9 changed files
with
148 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Omit numba code for now due to | ||
# https://github.com/numba/numba/issues/4268 | ||
[run] | ||
omit = */numba/* | ||
parallel = true | ||
source = adios4dolfinx | ||
|
||
[html] | ||
directory= htmlcov | ||
|
||
[xml] | ||
output = coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Generate legacy data | ||
|
||
on: | ||
workflow_call: | ||
|
||
env: | ||
data_dir: "legacy" | ||
|
||
|
||
jobs: | ||
create-data: | ||
runs-on: "ubuntu-22.04" | ||
container: ghcr.io/scientificcomputing/fenics:test_2023.1.0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Create datasets | ||
run: python3 ./tests/create_legacy_data.py --output-dir=$data_dir | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.data_dir }} | ||
path: ./${{ env.data_dir }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Github Pages | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow one concurrent deployment | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-docs: | ||
uses: ./.github/workflows/build_docs.yml | ||
|
||
run-coverage: | ||
uses: ./.github/workflows/test_package.yml | ||
|
||
deploy: | ||
needs: [run-coverage, build-docs] | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download docs artifact | ||
# docs artifact is uploaded by build-docs job | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: documentation | ||
path: "./public" | ||
|
||
- name: Download docs artifact | ||
# docs artifact is uploaded by build-docs job | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: code-coverage-report | ||
path: "./public/code-coverage-report" | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: "./public" | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,4 +130,11 @@ dmypy.json | |
|
||
_build/ | ||
|
||
output/ | ||
output/ | ||
|
||
*.h5 | ||
.coverage.* | ||
.coverage | ||
*.h5 | ||
*.xdmf | ||
*.bp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0.0", "wheel"] | |
|
||
[project] | ||
name = "adios4dolfinx" | ||
version = "0.2.1" | ||
version = "0.2.2" | ||
description = "Wrappers for reading/writing DOLFINx meshes/functions with ADIOS2" | ||
authors = [{name = "Jørgen S. Dokken", email = "[email protected]"}] | ||
license = {file = "LICENSE"} | ||
|
@@ -13,6 +13,7 @@ readme = "README.md" | |
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"coverage" | ||
] | ||
dev = [ | ||
"pdbpp", | ||
|
Oops, something went wrong.