Skip to content

Bump actions/checkout from 2.4.0 to 4.1.1 #5

Bump actions/checkout from 2.4.0 to 4.1.1

Bump actions/checkout from 2.4.0 to 4.1.1 #5

Workflow file for this run

name: Run tests
on:
- push
- pull_request
jobs:
run-tests:
name: Run tests
runs-on: ubuntu-latest
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 sh
- name: Running addons tests
run: |
set -x
sudo snap install microk8s --classic --channel=latest/edge
sudo microk8s status --wait-ready --timeout 600
sudo microk8s addons repo add testing .
sudo pytest -s ./tests/test-addons.py
sudo snap remove microk8s --purge