Skip to content

Commit 617ab13

Browse files
authored
Update workflow file to install datashuttle. (#394)
* Update workflow file to install datashuttle. * Specify intel and M1 runners. * Specify intel and M1 runners. * Trigger tests after new conda build. * Force to only remove datashuttle package with conda. * Fix capital letters in job names. * Change order slightly and add an explanatory comment. * Rename CI test env from 'true' to 'datashuttle-test'.
1 parent af7f224 commit 617ab13

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/code_test_and_deploy.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
os: [windows-latest, macos-latest, macos-14, ubuntu-latest]
28+
# macos-14 is M1, macos-13 is intel
29+
os: [windows-latest, ubuntu-latest, macos-14, macos-13]
2930
python-version: ["3.9", "3.10", "3.11", "3.12"]
3031

3132
steps:
@@ -36,13 +37,15 @@ jobs:
3637
python-version: ${{ matrix.python-version }}
3738
auto-update-conda: true
3839
channels: conda-forge
39-
activate-environment: "true"
40-
- name: Install RClone
40+
activate-environment: "datashuttle-test"
41+
- name: Install datashuttle with conda
4142
run: |
42-
conda activate true
43-
conda install -c conda-forge rclone
44-
- name: Install dependencies
43+
conda activate datashuttle-test
44+
conda install -c conda-forge datashuttle
45+
- name: Install local datashuttle for testing
4546
run: |
47+
# --force will only uninstall datashuttle not dependencies
48+
conda uninstall datashuttle --force
4649
python -m pip install --upgrade pip
4750
pip install .[dev]
4851
- name: Test

0 commit comments

Comments
 (0)