Skip to content

Commit

Permalink
👌🚇 Change integration tests to use self managed examples action
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Jun 17, 2022
1 parent 3ae96b0 commit 936fa6a
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@ on:
workflow_dispatch:

jobs:
create-example-list:
name: Create Example List
runs-on: ubuntu-latest
outputs:
example-list: ${{ steps.create-example-list.outputs.example-list }}
steps:
- name: Set example list output
id: create-example-list
uses: glotaran/pyglotaran-examples@main
with:
example_name: set example list
set_example_list: true

run-examples:
name: "Run Example: "
runs-on: ubuntu-latest
needs: [create-example-list]
strategy:
matrix:
example_name:
[
quick-start,
fluorescence,
transient-absorption,
transient-absorption-two-datasets,
spectral-constraints,
spectral-guidance,
two-datasets,
sim-3d-disp,
sim-3d-nodisp,
sim-3d-weight,
sim-6d-disp,
]
example_name: ${{fromJson(needs.create-example-list.outputs.example-list)}}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
Expand Down

0 comments on commit 936fa6a

Please sign in to comment.