Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2c6d12

Browse files
committed
Import internal unit tests, first crack at unit test ci definition, cipher override support, gitignore
1 parent 203c122 commit b2c6d12

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+4421
-8
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
- '!main'
8+
9+
env:
10+
RUN: ${{ github.run_id }}-${{ github.run_number }}
11+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
12+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
13+
PACKAGE_NAME: aws-iot-device-sdk-python
14+
AWS_EC2_METADATA_DISABLED: true
15+
16+
jobs:
17+
unit-tests:
18+
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Unit tests
25+
run: |
26+
python3 setup.py install
27+
pip install pytest
28+
pip install mock
29+
python3 -m pytest test
30+

0 commit comments

Comments
 (0)