Skip to content

Commit

Permalink
Import internal unit tests, first crack at unit test ci definition, c…
Browse files Browse the repository at this point in the history
…ipher override support, gitignore
  • Loading branch information
bretambrose committed Dec 7, 2021
1 parent 203c122 commit b2c6d12
Show file tree
Hide file tree
Showing 45 changed files with 4,421 additions and 8 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
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
Loading

0 comments on commit b2c6d12

Please sign in to comment.