Skip to content

Commit

Permalink
Copy python requirements from spack
Browse files Browse the repository at this point in the history
  • Loading branch information
psakievich committed Nov 30, 2023
1 parent 22c55ef commit f36a3bf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Checkout Spack
uses: actions/checkout@v3
with:
repository: spack/spack
path: spack
- name: Setup Spack
run: echo "$PWD/spack/bin" >> "$GITHUB_PATH"
- name: Install dependencies
run: |
cp "$PWD/spack/.github/workflow/style/requirements.txt" "$PWD"
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install extension
run: spack config add config:extensions:[${GITHUB_WORKSPACE}]
- name: Spack Style Manager
Expand Down

0 comments on commit f36a3bf

Please sign in to comment.