Skip to content

Commit

Permalink
Disable shadow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Jan 2, 2024
1 parent 9223c8a commit ba9f4d0
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,31 +234,32 @@ jobs:
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
python3 ./test_cases/test_fleet_provisioning.py --config-file test_cases/mqtt5_fleet_provisioning_with_csr_cfg.json --thing-name-prefix Fleet_Thing_
- name: configure AWS credentials (service tests Shadow)
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ env.CI_SHADOW_SERVICE_CLIENT_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: run MQTT5 Shadow Update
working-directory: ./aws-iot-device-sdk-python-v2/servicetests
run: |
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt5_shadow_cfg.json
- name: run MQTT3 Shadow Update
working-directory: ./aws-iot-device-sdk-python-v2/servicetests
run: |
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt3_shadow_cfg.json
- name: run MQTT5 Named Shadow Update
working-directory: ./aws-iot-device-sdk-python-v2/servicetests
run: |
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt5_named_shadow_cfg.json
- name: run MQTT3 Named Shadow Update
working-directory: ./aws-iot-device-sdk-python-v2/servicetests
run: |
export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt3_named_shadow_cfg.json
# TODO Add waiting logic to checks, only then reenable these tests.
# - name: configure AWS credentials (service tests Shadow)
# uses: aws-actions/configure-aws-credentials@v2
# with:
# role-to-assume: ${{ env.CI_SHADOW_SERVICE_CLIENT_ROLE }}
# aws-region: ${{ env.AWS_DEFAULT_REGION }}
# - name: run MQTT5 Shadow Update
# working-directory: ./aws-iot-device-sdk-python-v2/servicetests
# run: |
# export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
# python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt5_shadow_cfg.json
# - name: run MQTT3 Shadow Update
# working-directory: ./aws-iot-device-sdk-python-v2/servicetests
# run: |
# export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
# python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt3_shadow_cfg.json
# - name: run MQTT5 Named Shadow Update
# working-directory: ./aws-iot-device-sdk-python-v2/servicetests
# run: |
# export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
# python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt5_named_shadow_cfg.json
# - name: run MQTT3 Named Shadow Update
# working-directory: ./aws-iot-device-sdk-python-v2/servicetests
# run: |
# export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-python-v2/utils:${{ github.workspace }}/aws-iot-device-sdk-python-v2/samples
# python3 ./test_cases/test_shadow_update.py --config-file test_cases/mqtt3_named_shadow_cfg.json

- name: configure AWS credentials (service tests Jobs)
uses: aws-actions/configure-aws-credentials@v2
Expand Down

0 comments on commit ba9f4d0

Please sign in to comment.