Skip to content

Commit 18b2301

Browse files
committed
Some changes to yml.
1 parent 2358448 commit 18b2301

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,34 +39,27 @@ jobs:
3939
mamba-version: "*"
4040

4141
- name: Install core dependencies.
42-
shell: bash -l {0}
4342
run: mamba install -c conda-forge tox-conda coverage
4443

4544
# Unit, integration, and end-to-end tests.
4645

4746
- name: Run unit tests and doctests.
48-
shell: bash -l {0}
4947
run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=src --cov=tests --cov-report=xml -n auto
5048

5149
- name: Upload coverage report for unit tests and doctests.
52-
if: runner.os == 'Linux' && matrix.python-version == '3.8'
53-
shell: bash -l {0}
50+
if: runner.os == 'Linux' && matrix.python-version == '3.10'
5451
run: bash <(curl -s https://codecov.io/bash) -F unit -c
5552

5653
- name: Run integration tests.
57-
shell: bash -l {0}
5854
run: tox -e pytest -- -m integration --cov=src --cov=tests --cov-report=xml -n auto
5955

6056
- name: Upload coverage reports of integration tests.
61-
if: runner.os == 'Linux' && matrix.python-version == '3.8'
62-
shell: bash -l {0}
57+
if: runner.os == 'Linux' && matrix.python-version == '3.10'
6358
run: bash <(curl -s https://codecov.io/bash) -F integration -c
6459

6560
- name: Run end-to-end tests.
66-
shell: bash -l {0}
6761
run: tox -e pytest -- -m end_to_end --cov=src --cov=tests --cov-report=xml -n auto
6862

6963
- name: Upload coverage reports of end-to-end tests.
70-
if: runner.os == 'Linux' && matrix.python-version == '3.8'
71-
shell: bash -l {0}
64+
if: runner.os == 'Linux' && matrix.python-version == '3.10'
7265
run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c

0 commit comments

Comments
 (0)