Skip to content

Commit

Permalink
Update ci.yml from Use micromamba in CI (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeping authored Sep 25, 2023
1 parent f449083 commit a0c9853
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install dependencies with Miniconda
uses: conda-incubator/setup-miniconda@v2
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@main
with:
python-version: ${{ matrix.python-version }}
mamba-version: "*"
activate-environment: forcebalance-test
environment-file: devtools/conda-envs/test_env.yaml
auto-activate-base: false

channel-priority: "flexible"
extra-specs:
python=${{ matrix.python-version }}

- name: Additional info about the build
shell: bash
run: |
Expand Down Expand Up @@ -115,7 +114,7 @@ jobs:
- name: Run tests
run: |
pytest -v --cov=forcebalance --cov-config=setup.cfg --durations=0 --cov-report=xml
pytest -vx --cov=forcebalance --cov-config=setup.cfg --durations=0 --cov-report=xml src/tests/
- name: Run water study
run: |
Expand Down

0 comments on commit a0c9853

Please sign in to comment.