File tree 2 files changed +65
-0
lines changed
2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto Assign
2
+ on :
3
+ issues :
4
+ types : [opened]
5
+ pull_request :
6
+ types : [opened]
7
+ jobs :
8
+ run :
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ issues : write
12
+ pull-requests : write
13
+ steps :
14
+ - name : " Auto-assign issue"
15
+ uses : pozil/auto-assign-issue@v1
16
+ with :
17
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
18
+ assignees : lpm0073
19
+ numOfAssignee : 1
Original file line number Diff line number Diff line change
1
+ name : Python Unit Tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+
7
+ jobs :
8
+ tests :
9
+ name : tests
10
+ runs-on : ubuntu-latest
11
+ env :
12
+ AWS_REGION : ${{ secrets.AWS_REGION }}
13
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
14
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Configure AWS credentials
20
+ uses : aws-actions/configure-aws-credentials@v4
21
+ with :
22
+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
23
+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
24
+ aws-region : " us-east-1"
25
+
26
+ - name : Set up Python 3.x
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version : " 3.11"
30
+
31
+ - name : Cache Python dependencies
32
+ uses : actions/cache@v3
33
+ with :
34
+ path : ~/.cache/pip
35
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
36
+ restore-keys : |
37
+ ${{ runner.os }}-pip
38
+
39
+ - name : Install requirements
40
+ run : |
41
+ python -m pip install --upgrade pip
42
+ pip install -r ./requirements.txt
43
+
44
+ - name : terraform/python Unit tests
45
+ run : |
46
+ make api-test
You can’t perform that action at this time.
0 commit comments