Skip to content

test: Allow integration and unit tests to run against EOL or desired … #9

test: Allow integration and unit tests to run against EOL or desired …

test: Allow integration and unit tests to run against EOL or desired … #9

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
strategy:
matrix:
python-version: [ '3.9','3.10','3.11', '3.12' ]
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: ${{ matrix.python-version }}
- name: install dependencies
run: make deps
- name: Run unit tests
run: |
make unittest