Skip to content

Commit 6df85a3

Browse files
committed
Update workflow.
1 parent 4b791e1 commit 6df85a3

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/code_test_and_deploy.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,27 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@v6
5353
- name: Set up Conda
54-
uses: conda-incubator/setup-miniconda@v3
54+
uses: conda-incubator/setup-miniconda@v4
5555
with:
5656
python-version: ${{ matrix.python-version }}
5757
auto-update-conda: true
5858
channels: conda-forge
5959
activate-environment: "datashuttle-test"
6060

61+
- name: Install pip # ← add this right after
62+
run: conda install pip
63+
6164
# The recommended installation is via conda, but we need to test
6265
# against dependencies from the pyproject.toml on the branch
6366
# to ensure dependency changes in a PR are reflected.
6467
- name: Install rclone
6568
run: |
66-
conda activate datashuttle-test
6769
conda install -c conda-forge rclone
6870
6971
- name: Install datashuttle from repo
7072
run: |
7173
python -m pip install --upgrade pip
72-
pip install .[dev]
74+
python -m pip install .[dev]
7375
7476
- name: Install pass on Linux
7577
# this is required for Rclone config encryption
@@ -122,6 +124,12 @@ jobs:
122124
run: |
123125
pytest tests/tests_transfers/aws
124126
127+
- name: Upload coverage reports to Codecov
128+
uses: codecov/codecov-action@v5
129+
with:
130+
token: ${{ secrets.CODECOV_TOKEN }}
131+
slug: neuroinformatics-unit/datashuttle
132+
125133
build_sdist_wheels:
126134
name: Build source distribution
127135
needs: [test]

0 commit comments

Comments
 (0)