File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request :
3
+ branches :
4
+ - main
5
+
6
+ jobs :
7
+ devflow :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Context
11
+ uses : okteto/context@latest
12
+ with :
13
+ token : ${{ secrets.OKTETO_TOKEN }}
14
+ url : ${{ secrets.OKTETO_URL }}
15
+ - name : checkout
16
+ uses : actions/checkout@master
17
+ - name : " Set multi-line env vars"
18
+ run : |
19
+ echo "MY_VAR<<EOF" >> $GITHUB_ENV
20
+ echo "This is line 1" >> $GITHUB_ENV
21
+ echo "This is line 2" >> $GITHUB_ENV
22
+ echo "EOF" >> $GITHUB_ENV
23
+ - name : " Run tests"
24
+ uses : okteto/test@latest
25
+ with :
26
+ tests : " integration"
27
+ variables : " PASS=admin"
Original file line number Diff line number Diff line change 81
81
- worker:/usr/src/app
82
82
forward :
83
83
- 2345:2345
84
+
85
+ test :
86
+ worker :
87
+ image : golang
88
+ commands :
89
+ - cd worker && printenv | grep GITHUB
You can’t perform that action at this time.
0 commit comments