Merge branch 'dev' into TPT-3085-add-authorized-users-to-instance #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |