Skip to content

CI: replace test execution handler with conditional (#504) #5

CI: replace test execution handler with conditional (#504)

CI: replace test execution handler with conditional (#504) #5

Workflow file for this run

on:
workflow_dispatch: null
push:
pull_request:
name: Run Unit test
jobs:
run-tests:
# TODO:
# Upgrade back to ubuntu-latest when the permission issue fixed
runs-on: ubuntu-20.04
defaults:
run:
working-directory: .ansible/collections/ansible_collections/linode/cloud
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
path: .ansible/collections/ansible_collections/linode/cloud
- name: setup python 3
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: install dependencies
run: make deps
- name: Run unit tests
run: |
make unittest