User-defined "pinned versions" for JEDI repos #8
Workflow file for this run
This file contains 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: JEDI Bundle Pinned Version Clone Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
buildbundle: | |
name: Clone oops bundle | |
runs-on: ubuntu-latest | |
steps: | |
# Setup Python | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
# Update conda | |
- name: Update conda | |
run: conda update -n base -c defaults conda | |
# Install pip | |
- name: Install pip | |
run: conda install pip | |
# Clone the code repo | |
- name: Clone code repo | |
uses: actions/checkout@v2 | |
with: | |
lfs: true | |
# Install package | |
- name: Upgrade pip | |
run: $CONDA/bin/pip3 install --upgrade pip | |
- name: Install JEDI bundle and dependencies | |
run: $CONDA/bin/pip3 install --use-deprecated=legacy-resolver -r requirements.txt --user . | |
- name: Put executables in the path | |
run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
# Run an application test | |
- name: Run JEDI Bundle application test | |
run: jedi_bundle --pinned_versions src/jedi_bundle/config/test_pinned_versions.yaml Clone src/jedi_bundle/config/build.yaml | |
# Confirm existence of expected file | |
- name: Check | |
run: ls -l jedi_bundle/oops/CMakeLists.txt |