Skip to content

Run specs

Run specs #12

Workflow file for this run

name: Run specs
on:
workflow_dispatch:
permissions:
contents: read
jobs:
kubernetes-testing:
name: 'kubernetes-testing'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
- name: Setup configs
env:
DEV_KUBECONFIG: ${{ secrets.DEV_KUBECONFIG }}
DEV_TESTING_CONFIG: ${{ secrets.DEV_TESTING_CONFIG }}
run: |
echo "${DEV_KUBECONFIG}" > kubeconfig
echo "${DEV_TESTING_CONFIG}" > config.yml
- name: Setup Chrome
uses: ./.github/actions/setup-chrome
- name: Run kubernetes-testing specs
run: |
export KUBECONFIG=kubeconfig
make test
- name: Cleanup
if: ${{ always() }}
run: |
rm -f kubeconfig || true
rm -f config.yml || true