Skip to content

Commit 51efbbc

Browse files
fix installation check
1 parent 122df5a commit 51efbbc

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/check_installation.yml

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

1818
jobs:
19-
test-installation:
19+
test-installation-boto:
2020
name: Test Boto Dependency
2121
runs-on: ubuntu-latest
2222
steps:
@@ -55,6 +55,16 @@ 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
5868
- name: Test installation with [aio] (should include aioboto)
5969
shell: bash
6070
run: |
@@ -64,7 +74,7 @@ jobs:
6474
python -m pip install '.[aio]'
6575
6676
# Check that aioboto3 and aiobotocore are installed
67-
pip freeze | grep aioboto && exit 1 # aioboto3 and aiobotocore should be installed
77+
pip freeze | grep aioboto || exit 1 # aioboto3 and aiobotocore should be installed
6878
6979
# Deactivate and clean up
7080
deactivate

0 commit comments

Comments
 (0)