Skip to content

Add GitHub Actions workflow for running tests and update okteto.yml #19

Add GitHub Actions workflow for running tests and update okteto.yml

Add GitHub Actions workflow for running tests and update okteto.yml #19

Workflow file for this run

name: "My Abuelo "
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@maste
- name: Save Git values
run: |
echo "COMMIT_INFO_MESSAGE=\"$(git show -s --format='%h %s')\"" >> $GITHUB_ENV
shell: bash
- name: "Run tests"
uses: okteto/test@jlo/fix-fithub-multiline-envvars
with:
tests: "worker"
variables: USER="im the admin",PASS="admin",COMMIT_INFO_MESSAGE="${{ env.COMMIT_INFO_MESSAGE }}"
log-level: "debug"