Skip to content

Commit 0b195b8

Browse files
authored
Merge pull request #298 from aws/TestingAndCiphers
First step at setting up github authoritative CI
2 parents 203c122 + dc78ddf commit 0b195b8

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

+4403
-8
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
- uses: actions/setup-python@v2
25+
with:
26+
python-version: '3.6'
27+
- name: Unit tests
28+
run: |
29+
python3 setup.py install
30+
pip install pytest
31+
pip install mock
32+
python3 -m pytest test
33+

0 commit comments

Comments
 (0)