Skip to content

Commit

Permalink
use modified biosimulations.json from vcell repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Aug 28, 2024
1 parent d78e137 commit 04b60e6
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/bsts_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,34 @@ jobs:
make -C builddir
sudo make -C builddir install
- name: checkout vcell
uses: actions/checkout@v3

- name: configure biosimulations.json
working-directory: ${{ github.workspace }}
run: |
sed -i 's/_VC_VERSION_TAG_/${{github.event.inputs.biosimulators_vcell_tag}}/g' biosimulators.json
- name: save updated biosimulators.json
uses: actions/upload-artifact@v2
with:
name: biosimulators.json
path: ${{ github.workspace }}/biosimulators.json
overwrite: true

- name: Checkout BioSimulators test suite
uses: actions/checkout@v3
with:
repository: biosimulators/biosimulators_test_suite
fetch-depth: 1
ref: depFixes

- name: retrieve updated biosimulators.json
uses: actions/download-artifact@v2
with:
name: biosimulators.json
path: ${{ github.workspace }}

- name: Install simulator validation utilities
working-directory: ${{ github.workspace }}
run: |
Expand All @@ -110,15 +131,6 @@ jobs:
# VCell Docker registry (GHCR)
echo ${{ secrets.ACTION_TOKEN }} | docker login ghcr.io -u ${{ secrets.ACTION_USER }} --password-stdin
- name: configure biosimulations.json
working-directory: ${{ github.workspace }}
run: |
sed -i 's/_VC_VERSION_TAG_/${{github.event.inputs.biosimulators_vcell_tag}}/g' biosimulators.json
- name: Get the VCell version from tags
id: version
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10})

- id: validateCommitSimulator
name: Validate and commit simulator
uses: GabrielBB/xvfb-action@v1
Expand Down

0 comments on commit 04b60e6

Please sign in to comment.