apuiggro is testing the rocrate🚀 #44
Workflow file for this run
This file contains hidden or 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: Correct creation of rocrate objects | |
| run-name: ${{ github.actor }} is testing the rocrate🚀 | |
| on: [push] | |
| jobs: | |
| rocrate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.9" | |
| - name: Install system dependencies | |
| run: sudo apt-get install -y graphviz rsync curl | |
| - name: Install autosubmit | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e . | |
| - name: Configure autosubmit | |
| run: | | |
| autosubmit configure | |
| autosubmit install | |
| - name: Create dummy experiment | |
| run: autosubmit expid -H "local" -d "GitHub Action validate RO-Crate" | |
| - name: Save rocrate.yml in experiment a000 | |
| run: | | |
| python autosubmit/provenance/save_rocrate_validator.py | |
| - name: Check that rocrate.yml is correctly created | |
| run: | | |
| ls /home/runner/autosubmit/a000/conf | |
| cat /home/runner/autosubmit/a000/conf/rocrate.yml | |
| - name: Create and run autosubmit experiment | |
| run: | | |
| autosubmit create a000 | |
| autosubmit run a000 | |
| - name: Install roc-validator | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install roc-validator | |
| - name: Run roc-validator | |
| run: | | |
| python autosubmit/provenance/unzip_folder_rocrate_validator.py | |
| - name: Uninstall roc-validator and install specific dependencies | |
| run: | | |
| pip uninstall roc-validator | |
| pip install requests<=2.31.0 | |
| pip install pyparsing<=3.1.1 | |
| - name: Check autoubmit dependencies are re-set correctly | |
| run: | | |
| autosubmit --version |