Update modules to spack-stack 1.8 and change pinned versions #32
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 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 |