forked from aws/aws-iot-device-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import internal unit tests, first crack at unit test ci definition, c…
…ipher override support, gitignore
- Loading branch information
1 parent
203c122
commit b2c6d12
Showing
45 changed files
with
4,421 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!main' | ||
|
||
env: | ||
RUN: ${{ github.run_id }}-${{ github.run_number }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
PACKAGE_NAME: aws-iot-device-sdk-python | ||
AWS_EC2_METADATA_DISABLED: true | ||
|
||
jobs: | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Unit tests | ||
run: | | ||
python3 setup.py install | ||
pip install pytest | ||
pip install mock | ||
python3 -m pytest test | ||
Oops, something went wrong.