mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-03 06:44:37 +02:00
(cherry picked from commit 4603507713
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
8ee9e8b5ff
commit
508713fca6
2 changed files with 11 additions and 0 deletions
7
.github/workflows/ansible-test.yml
vendored
7
.github/workflows/ansible-test.yml
vendored
|
@ -83,6 +83,13 @@ jobs:
|
|||
with:
|
||||
path: ansible_collections/community/routeros
|
||||
|
||||
- name: Overwrite unit test requirements (if applicable)
|
||||
run: |
|
||||
if [ -e tests/unit/requirements-${{ matrix.ansible }}.txt ]; then
|
||||
cp tests/unit/requirements-${{ matrix.ansible }}.txt tests/unit/requirements.txt
|
||||
fi
|
||||
working-directory: ./ansible_collections/community/routeros
|
||||
|
||||
- name: Set up Python ${{ matrix.ansible }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
|
|
4
tests/unit/requirements-stable-2.9.txt
Normal file
4
tests/unit/requirements-stable-2.9.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
unittest2 ; python_version <= '2.6'
|
||||
|
||||
# requirements for api module
|
||||
librouteros < 3.2.0 ; python_version >= '3.6'
|
Loading…
Add table
Add a link
Reference in a new issue