Skip to content

Commit da3a1b4

Browse files
committed
Updated build_and_test.yml
1 parent 7dfd7a9 commit da3a1b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Miniconda using Python ${{ matrix.python-version }}
3232
uses: conda-incubator/setup-miniconda@v3
3333
with:
34-
miniforge-variant: Mambaforge
34+
miniconda-version: "latest"
3535
auto-update-conda: true
3636
activate-environment: usempl-plots-dev
3737
environment-file: environment.yml
@@ -50,8 +50,9 @@ jobs:
5050
shell: bash -l {0}
5151
working-directory: ./
5252
run: |
53-
pytest -m 'not local' --cov=./ --cov-report=xml --maxfail=0
53+
python -m pytest -m 'not local' --cov=./ --cov-report=xml --maxfail=0
5454
- name: Upload coverage to Codecov
55+
if: matrix.os == 'ubuntu-latest' && contains(github.repository, 'OpenSourceEcon/usempl-plots')
5556
uses: codecov/codecov-action@v4
5657
with:
5758
files: ./coverage.xml

0 commit comments

Comments
 (0)