File tree 4 files changed +23
-23
lines changed
setup-serverless-framework 4 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 1
- name : Set up development
2
- description : Install required dependencies
1
+ name : Set up poetry
2
+ description : Install poetry and python dependencies
3
3
runs :
4
4
using : " composite"
5
5
steps :
6
- - name : Install terraform
7
- uses : hashicorp/setup-terraform@v2
8
- with :
9
- terraform_wrapper : false
10
-
11
- - uses : actions/cache@v3
12
- id : npm-cache
13
- with :
14
- path : ~/.npm
15
- key : ${{ runner.os }}-build-${{ env.cache-name }}
16
-
17
- - name : Install npm dependencies
18
- shell : bash
19
- run : npm install -g serverless serverless-scaleway-functions
20
-
21
6
- uses : snok/install-poetry@v1
22
7
with :
23
8
version : 1.3.2
Original file line number Diff line number Diff line change
1
+ name : Set up development
2
+ description : Install required dependencies
3
+ runs :
4
+ using : " composite"
5
+ steps :
6
+ - uses : actions/cache@v3
7
+ id : npm-cache
8
+ with :
9
+ path : ~/.npm
10
+ key : ${{ runner.os }}-build-${{ env.cache-name }}
11
+
12
+ - name : Install npm dependencies
13
+ shell : bash
14
+ run : npm install -g serverless serverless-scaleway-functions
Original file line number Diff line number Diff line change 15
15
container : nikolaik/python-nodejs:python3.10-nodejs18
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - uses : ./.github/actions/setup-dev
18
+ - name : Install terraform
19
+ uses : hashicorp/setup-terraform@v2
20
+ with :
21
+ terraform_wrapper : false
22
+ - uses : ./.github/actions/setup-serverless-framework
23
+ - uses : ./.github/actions/setup-poetry
19
24
- name : Test with pytest
20
25
working-directory : tests
21
26
run : poetry run pytest integrations -n $(nproc --all)
Original file line number Diff line number Diff line change 15
15
container : nikolaik/python-nodejs:python3.10-nodejs18
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - uses : ./.github/actions/setup-dev
18
+ - uses : ./.github/actions/setup-poetry
19
19
- name : Test with pytest
20
20
working-directory : tests
21
21
run : poetry run pytest -s --ignore=integrations
22
- env :
23
- SCW_DEFAULT_ORGANIZATION_ID : ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
24
- SCW_SECRET_KEY : ${{ secrets.SCW_SECRET_KEY }}
25
- SCW_ACCESS_KEY : ${{ secrets.SCW_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments