Skip to content

Commit b5dce0f

Browse files
fix installation check
1 parent 122df5a commit b5dce0f

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/check_installation.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ concurrency:
1616
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1717

1818
jobs:
19-
test-installation:
20-
name: Test Boto Dependency
19+
test-installation-boto:
20+
name: Test boto dependency
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
@@ -55,6 +55,17 @@ jobs:
5555
deactivate
5656
rm -rf test_no_boto_env
5757
58+
test-installation-aioboto:
59+
name: Test aioboto dependency
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v4
63+
64+
- name: Set up Python
65+
uses: actions/setup-python@v4
66+
with:
67+
python-version: 3.12
68+
5869
- name: Test installation with [aio] (should include aioboto)
5970
shell: bash
6071
run: |
@@ -64,13 +75,12 @@ jobs:
6475
python -m pip install '.[aio]'
6576
6677
# Check that aioboto3 and aiobotocore are installed
67-
pip freeze | grep aioboto && exit 1 # aioboto3 and aiobotocore should be installed
78+
pip freeze | grep aioboto || exit 1 # aioboto3 and aiobotocore should be installed
6879
6980
# Deactivate and clean up
7081
deactivate
7182
rm -rf test_no_boto_env
7283
73-
7484
- name: Test [aio] installation with SNOWFLAKE_NO_BOTO=1 (should exclude aioboto)
7585
shell: bash
7686
run: |

0 commit comments

Comments
 (0)