File: create_legacy_data.yml

package info (click to toggle)
io4dolfinx 1.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 832 kB
  • sloc: python: 8,419; sh: 35; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Generate data from Legacy DOLFIN

on:
  workflow_call:
    inputs:
      artifact_name:
        type: string
        required: true
        description: "Name of the artifact to be created"

jobs:

  create-dolfin-data:
    env:
      data_dir: "legacy"
  
    runs-on: "ubuntu-latest"
    container: ghcr.io/scientificcomputing/fenics:2024-02-19
    steps:
    - uses: actions/checkout@v6

    - name: Create datasets
      run: python3 ./tests/create_legacy_data.py --output-dir=$data_dir

    - uses: actions/upload-artifact@v6
      with:
        name: ${{ inputs.artifact_name }}
        path: ./${{ env.data_dir }}