Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Apr 8, 2024
1 parent 6e78002 commit dfaaf2b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

env:
NBCONVERT_JOBS: '4'
LITERATE_PROC: '2'
LITERATE_PROC: '3'
ALLOWERRORS: 'false'
CACHE_NUM: '1'
JULIA_CONDAPKG_BACKEND: 'Null'
Expand All @@ -33,12 +33,15 @@ jobs:
python-version: '3.x'
- name: Cache python
uses: actions/cache@v4
if: ${{ contains(runner.name, 'GitHub Actions') }}
id: cache-py
with:
key: ${{ runner.os }}-py-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-pip-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}
path: |
${{ env.pythonLocation }}/lib
${{ env.pythonLocation }}/bin
- name: Install Python dependencies
if: ${{ steps.cache-py.outputs.cache-hit != 'true' }}
if: ${{ !contains(runner.name, 'GitHub Actions') || steps.cache-py.outputs.cache-hit != 'true' }}
run: pip install -r requirements.txt
- name: Cache executed notebooks
uses: actions/cache@v4
Expand Down

0 comments on commit dfaaf2b

Please sign in to comment.