Add legacy checkpoint test #1
Workflow file for this run
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
name: Generate adios4dolfinx legacy data | |
on: | |
workflow_call: | |
env: | |
data_dir: "legacy_checkpoint" | |
jobs: | |
create-data: | |
runs-on: "ubuntu-22.04" | |
container: ghcr.io/fenics/dolfinx/dolfinx:v0.7.3 | |
env: | |
adios4dolfinx_version: "0.7.1" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install legacy version of adios4dolfinx | |
- run: python3 -m pip install adios4dolfinx==${adios4dolfinx_version} | |
- name: Create datasets | |
run: python3 ./tests/create_legacy_checkpoint.py --output-dir=$data_dir | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.data_dir }} | |
path: ./${{ env.data_dir }} |