Skip to content

User-defined "pinned versions" for JEDI repos #8

User-defined "pinned versions" for JEDI repos

User-defined "pinned versions" for JEDI repos #8

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