Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions workflows #53

Closed
stellaprins opened this issue Aug 28, 2024 · 3 comments
Closed

GitHub actions workflows #53

stellaprins opened this issue Aug 28, 2024 · 3 comments
Assignees

Comments

@stellaprins
Copy link
Collaborator

  • Split SBMLShowcase/.github/workflows/non-omv.yml in two to separate docker / biosimulators related workflows (see below) to differentiate between biosimulators issues and issues with our code.
    - name: Test omex file creation
      run: |
        pip install "pymetadata>=0.4.2" docker "requests<2.32.0"
        cd SBML/tests    
        python ./test_biosimulators_docker.py
    - name: Test biosimulators compatibility table creation
      run: |
        cd SBML/tests
        sudo rm -rf output
        python ./test_compatibility_biosimulators.py --output-dir=tmp_plots
  • Ammend Test omex file creation workflow: for /test_biosimulators_docker.py add command line option for running it on biosimulators or not. Add one workflow (which runs the omex file on biosimulators) to the docker / biosimulators related workflows file, and one (which does not run the omex file on biosimulators) to the workflows file that does not involve docker or biosimulators.
@stellaprins stellaprins self-assigned this Sep 23, 2024
@stellaprins
Copy link
Collaborator Author

stellaprins commented Sep 23, 2024

  • non-omv-remote.yml to include any code that relies on the biosimulators website (run_biosimulators_remotely)

  • non-omv-docker.yml to include any code that relies on docker containers (run_biosimulators_locally)

  • non-omv.yml add create_combined_results_table with dummy results_remote and results_local tables.

  • check whether all components of non-omv.yml are used. e.g.

- name: Run tests
      run: |
        omv install jneuroml

@stellaprins
Copy link
Collaborator Author

Testing changes to the github actions workflows without having to commit and push the changes to the remote repository

  • installed act to run github actions locally
  • @pgleeson suggested to edit workflow files on the github webbrowser or making a fresh and private repository dedicated to testing workflows

@stellaprins
Copy link
Collaborator Author

Right now dummy data has been used but using data from the triggering workflow could be implemented down the line to use results (for example the remote and local results that are generated in separate workflows and combined into one table in yet another workflow) from a triggering workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant