Skip to content

Commit

Permalink
Merge pull request #298 from aws/TestingAndCiphers
Browse files Browse the repository at this point in the history
First step at setting up github authoritative CI
  • Loading branch information
bretambrose authored Dec 7, 2021
2 parents 203c122 + dc78ddf commit 0b195b8
Show file tree
Hide file tree
Showing 45 changed files with 4,403 additions and 8 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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
- uses: actions/setup-python@v2
with:
python-version: '3.6'
- name: Unit tests
run: |
python3 setup.py install
pip install pytest
pip install mock
python3 -m pytest test
Loading

0 comments on commit 0b195b8

Please sign in to comment.