mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-20 02:44:48 +02:00
parent
7b5d6821a3
commit
cb8d546604
3 changed files with 24 additions and 22 deletions
26
.github/workflows/ansible-test.yml
vendored
26
.github/workflows/ansible-test.yml
vendored
|
@ -35,16 +35,16 @@ jobs:
|
|||
# .../ansible_collections/community/routeros/
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ansible_collections/community/routeros
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
# it is just required to run that once as "ansible-test sanity" in the docker image
|
||||
# will run on all python versions it supports.
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
|
||||
# Install the head of the given branch (devel, stable-2.10)
|
||||
- name: Install ansible-base (${{ matrix.ansible }})
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ansible_collections/community/routeros
|
||||
|
||||
|
@ -104,9 +104,9 @@ jobs:
|
|||
working-directory: ./ansible_collections/community/routeros
|
||||
|
||||
- name: Set up Python ${{ matrix.ansible }}
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install ansible-base (${{ matrix.ansible }})
|
||||
run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
||||
|
@ -173,16 +173,18 @@ jobs:
|
|||
#
|
||||
# steps:
|
||||
# - name: Check out code
|
||||
# uses: actions/checkout@v2
|
||||
# uses: actions/checkout@v3
|
||||
# with:
|
||||
# path: ansible_collections/community/routeros
|
||||
#
|
||||
# - name: Set up Python ${{ matrix.ansible }}
|
||||
# uses: actions/setup-python@v2
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v3
|
||||
# with:
|
||||
# python-version: 3.8
|
||||
# # it is just required to run that once as "ansible-test integration" in the docker image
|
||||
# # will run on all python versions it supports.
|
||||
# python-version: '3.10'
|
||||
#
|
||||
# - name: Install ansible-base (${{ matrix.ansible }})
|
||||
# - name: Install ansible-core (${{ matrix.ansible }})
|
||||
# run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check
|
||||
#
|
||||
# - name: Install collection dependencies
|
||||
|
@ -200,7 +202,7 @@ jobs:
|
|||
# run: ansible-test coverage xml -v --requirements --group-by command --group-by version
|
||||
# working-directory: ./ansible_collections/community/routeros
|
||||
#
|
||||
# # See the reports at https://codecov.io/gh/ansible_collections/ansible-collections/community.routeros
|
||||
# # See the reports at https://codecov.io/gh/ansible-collections/community.routeros
|
||||
# - uses: codecov/codecov-action@v2
|
||||
# with:
|
||||
# fail_ci_if_error: false
|
||||
|
|
6
.github/workflows/extra-tests.yml
vendored
6
.github/workflows/extra-tests.yml
vendored
|
@ -21,14 +21,14 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install ansible-core
|
||||
run: pip install https://github.com/ansible/ansible/archive/stable-2.12.tar.gz --disable-pip-version-check
|
||||
|
|
14
.github/workflows/import-galaxy.yml
vendored
14
.github/workflows/import-galaxy.yml
vendored
|
@ -18,14 +18,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ./checkout
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install ansible-core
|
||||
run: pip install https://github.com/ansible/ansible/archive/stable-2.12.tar.gz --disable-pip-version-check
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
run: mkdir ./artifact && mv ./checkout/${{ env.NAMESPACE }}-${{ env.COLLECTION_NAME }}-*.tar.gz ./artifact
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.NAMESPACE }}-${{ env.COLLECTION_NAME }}-${{ github.sha }}
|
||||
path: ./artifact/
|
||||
|
@ -64,9 +64,9 @@ jobs:
|
|||
- build-collection
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install ansible-core
|
||||
run: pip install https://github.com/ansible/ansible/archive/stable-2.12.tar.gz --disable-pip-version-check
|
||||
|
@ -75,7 +75,7 @@ jobs:
|
|||
run: pip install galaxy-importer --disable-pip-version-check
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ env.NAMESPACE }}-${{ env.COLLECTION_NAME }}-${{ github.sha }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue