Skip to content

Commit 7b60669

Browse files
Remove conda from ci-tests
1 parent 4a86d9c commit 7b60669

File tree

2 files changed

+30
-36
lines changed

2 files changed

+30
-36
lines changed

.github/workflows/ci-tests-drafts.yaml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,22 @@ jobs:
1515
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
1616
python-version: ["3.9", "3.10", "3.11", "3.12"]
1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up Python using Miniconda
20-
uses: conda-incubator/setup-miniconda@v2
21-
with:
22-
auto-update-conda: true
23-
python-version: ${{ matrix.python-version }}
24-
- name: Install package and dependencies
25-
run: |
18+
- uses: actions/checkout@v4
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python }}
23+
- name: Install dependencies
24+
run: |
2625
python --version
2726
pip install -e .
2827
pip install -e .[test]
2928
pip install pytest pytest-cov
30-
shell: bash -l {0}
31-
- name: Test with pytest
32-
run: |
33-
pytest --cov=causal_testing --cov-report=xml
34-
shell: bash -l {0}
35-
- name: "Upload coverage to Codecov"
36-
uses: codecov/codecov-action@v2
37-
with:
38-
fail_ci_if_error: true
39-
token: ${{ secrets.CODECOV_TOKEN }}
29+
- name: Test with pytest
30+
run: |
31+
pytest --cov=causal_testing --cov-report=xml
32+
- name: "Upload coverage to Codecov"
33+
uses: codecov/codecov-action@v2
34+
with:
35+
fail_ci_if_error: true
36+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/ci-tests.yaml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,22 @@ jobs:
2020
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
2121
python-version: ["3.9", "3.10", "3.11", "3.12"]
2222
steps:
23-
- uses: actions/checkout@v2
24-
- name: Set up Python using Miniconda
25-
uses: conda-incubator/setup-miniconda@v2
26-
with:
27-
auto-update-conda: true
28-
python-version: ${{ matrix.python-version }}
29-
- name: Install package and dependencies
30-
run: |
23+
- uses: actions/checkout@v4
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: ${{ matrix.python }}
28+
- name: Install dependencies
29+
run: |
3130
python --version
3231
pip install -e .
3332
pip install -e .[test]
3433
pip install pytest pytest-cov
35-
shell: bash -l {0}
36-
- name: Test with pytest
37-
run: |
38-
pytest --cov=causal_testing --cov-report=xml
39-
shell: bash -l {0}
40-
- name: "Upload coverage to Codecov"
41-
uses: codecov/codecov-action@v2
42-
with:
43-
fail_ci_if_error: true
44-
token: ${{ secrets.CODECOV_TOKEN }}
34+
- name: Test with pytest
35+
run: |
36+
pytest --cov=causal_testing --cov-report=xml
37+
- name: "Upload coverage to Codecov"
38+
uses: codecov/codecov-action@v2
39+
with:
40+
fail_ci_if_error: true
41+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)