Skip to content

Update JEDI build to November 19th, 2024 #31

Update JEDI build to November 19th, 2024

Update JEDI build to November 19th, 2024 #31

name: JEDI Bundle Pinned Version Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
buildbundle:
name: Run jedi_bundle with pinned_versions
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
# Setup Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# Clone the code repo
- name: Clone code repo
uses: actions/checkout@v4
with:
lfs: true
- name: Install JEDI bundle and dependencies
run: python -m pip 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
# Check if build.yaml has pinned_versions
- name: Check for pinned_versions
run: python src/jedi_bundle/tests/test_pinned_versions.py ${GITHUB_WORKSPACE}/build.yaml