Skip to content

[Backport 1.31] kube-ovn: Fix placeholder not being replaced on enable #793

[Backport 1.31] kube-ovn: Fix placeholder not being replaced on enable

[Backport 1.31] kube-ovn: Fix placeholder not being replaced on enable #793

Workflow file for this run

name: Run tests
on:
pull_request:
branches: [1.31]
jobs:
run-tests:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
channel: [1.31/edge, 1.31-strict/edge]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install python3-setuptools
sudo pip3 install --upgrade pip
sudo pip3 install -U pytest
- name: Running addons tests
run: |
set -x
sudo snap install microk8s --classic --channel=${{ matrix.channel }}
sudo microk8s status --wait-ready --timeout 600
sudo microk8s addons repo remove core
sudo microk8s addons repo add core .
export UNDER_TIME_PRESSURE="True"
if [[ "${{ matrix.channel }}" == "1.31-strict/edge" ]]
then
export STRICT="yes"
fi
export SKIP_PROMETHEUS="False"
sudo -E pytest -s -ra ./tests/test-addons.py
sudo snap remove microk8s --purge