Skip to content

Commit

Permalink
update env
Browse files Browse the repository at this point in the history
  • Loading branch information
StardustDL committed Feb 19, 2024
1 parent 1a268b2 commit e1690c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@ jobs:
uses: jlumbroso/free-disk-space@main
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: main
create-args: >-
python=3.12
init-shell: >-
bash
environment-file: env.yaml
cache-environment: true
post-cleanup: 'all'
- name: Prepare env
run: |
python -m pip install -r ./requirements.txt
sed -i 's/\"package\"/\"image\"/' ./config.json
- name: Restore cache
uses: actions/cache/restore@v3
Expand All @@ -46,9 +41,11 @@ jobs:
run: |
rm ./dist/process.json
- name: Run processing
shell: micromamba-shell {0}
run: |
python -m index.mProcess
- name: Run indexing
shell: micromamba-shell {0}
run: |
python -m index.mIndex
- name: Upload pages artifact
Expand Down
9 changes: 9 additions & 0 deletions env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: base
channels:
- conda-forge
dependencies:
- python=3.12
- aexpy=0.2.3
- packaging=23.2
- semver=3.0.2
- requests=2.31.0
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

0 comments on commit e1690c8

Please sign in to comment.