Skip to content

Commit 9ed11d1

Browse files
Merge branch 'main' into docs_update
2 parents c4fd901 + c210ae6 commit 9ed11d1

File tree

2 files changed

+32
-37
lines changed

2 files changed

+32
-37
lines changed

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

Lines changed: 16 additions & 19 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: |
26-
python --version
18+
- uses: actions/checkout@v4
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
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: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,23 @@ 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-version }}
28+
- name: Install dependencies
29+
run: |
3130
python --version
31+
python -m pip install --upgrade pip
3232
pip install -e .
3333
pip install -e .[test]
3434
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 }}
35+
- name: Test with pytest
36+
run: |
37+
pytest --cov=causal_testing --cov-report=xml
38+
- name: "Upload coverage to Codecov"
39+
uses: codecov/codecov-action@v2
40+
with:
41+
fail_ci_if_error: true
42+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)