-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Actions workflow for devflow and test environment
Signed-off-by: Javier Lopez <[email protected]>
- Loading branch information
1 parent
efca18b
commit 36e00d2
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
devflow: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Context | ||
uses: okteto/context@latest | ||
with: | ||
token: ${{ secrets.OKTETO_TOKEN }} | ||
url: ${{ secrets.OKTETO_URL }} | ||
- name: checkout | ||
uses: actions/checkout@master | ||
- name: "Set multi-line env vars" | ||
run: | | ||
echo "MY_VAR<<EOF" >> $GITHUB_ENV | ||
echo "This is line 1" >> $GITHUB_ENV | ||
echo "This is line 2" >> $GITHUB_ENV | ||
echo "EOF" >> $GITHUB_ENV | ||
- name: "Run tests" | ||
uses: okteto/test@latest | ||
with: | ||
tests: "integration" | ||
variables: "PASS=admin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters