File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,32 @@ jobs:
2222 runs-on : ubuntu-latest
2323 environment : dev
2424 steps :
25- - uses : actions/checkout@v3
25+ - uses : actions/checkout@v4
2626 - name : Setup go
27- uses : actions/setup-go@v3
27+ uses : actions/setup-go@v4
2828 with :
2929 go-version : ' 1.20.1'
3030 - name : Go Version
3131 run : go version
32+
3233 - name : Setup Node
33- uses : actions/setup-node@v3
34+ uses : actions/setup-node@v4
3435 with :
3536 node-version : ' 18'
37+
3638 - name : Setup python
3739 uses : actions/setup-python@v4
3840 with :
39- python-version : ' 3.7 '
41+ python-version : ' 3.8 '
4042 cache : ' pip'
43+
4144 - name : Configure AWS Credentials
4245 uses : aws-actions/configure-aws-credentials@v4
4346 with :
4447 audience : sts.amazonaws.com
4548 role-to-assume : arn:aws:iam::395594542180:role/github-actions-deploy
4649 aws-region : us-east-1
50+
4751 - name : Cache Go modules
4852 uses : actions/cache@v2
4953 with :
@@ -64,11 +68,11 @@ jobs:
6468 - name : Python Setup
6569 working-directory : cla-backend
6670 run : |
71+ python -m venv venv
72+ source venv/bin/activate
6773 pip install --upgrade pip
6874 pip install -r requirements.txt
6975
70-
71-
7276 - name : Python Lint
7377 working-directory : cla-backend
7478 run : |
7781 - name : Python Test
7882 working-directory : cla-backend
7983 run : |
84+ python -m venv venv
85+ source venv/bin/activate
86+ pip install pytest
8087 pytest "cla/tests" -p no:warnings
8188 env :
8289 PLATFORM_GATEWAY_URL : https://api-gw.dev.platform.linuxfoundation.org
Original file line number Diff line number Diff line change 44 "license" : " MIT" ,
55 "author" : " The Linux Foundation" ,
66 "engines" : {
7- "node" : " >=16 "
7+ "node" : " >=18 "
88 },
99 "scripts" : {
1010 "sls" : " ./node_modules/serverless/bin/serverless.js" ,
You can’t perform that action at this time.
0 commit comments