Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aradermacher committed Jun 29, 2023
1 parent 268af9d commit 37efb27
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/usecase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,24 @@ jobs:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: amworkflow
environment-file: environment.yml
use-mamba: true

- name: Set cache date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV

- uses: actions/cache@v2
with:
path: "/usr/share/miniconda3/envs/amworkflow"
key: conda-${{ hashFiles('environment.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Update environment
run: mamba env update -n amworkflow -f environment.yml
if: steps.cache.outputs.cache-hit != 'true'

- name: Install package
run: git clone https://github.com/tpaviot/pythonocc-utils.git && cd pythonocc-utils && pip install -e .
# - name: Set cache date
# run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
#
# - uses: actions/cache@v2
# with:
# path: "/usr/share/miniconda3/envs/amworkflow"
# key: conda-${{ hashFiles('environment.yml') }}-${{ env.DATE }}-${{ env.CACHE_NUMBER }}
# id: cache
#
# - name: Update environment
# run: mamba env update -n amworkflow -f environment.yml
# if: steps.cache.outputs.cache-hit != 'true'
#
# - name: Install package
# run: git clone https://github.com/tpaviot/pythonocc-utils.git && pip install ./pythonocc-utils

- name: Run param_wall
shell: bash -l {0} #new shell
Expand Down
1 change: 0 additions & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ dependencies:
- nest-asyncio==1.5.6
- notebook==6.5.4
- notebook-shim==0.2.3
- occutils==0.1.dev0
- overrides==7.3.1
- pandocfilters==1.5.0
- plotly==5.15.0
Expand Down

0 comments on commit 37efb27

Please sign in to comment.