Collection renamed from network to skupper #57
Workflow file for this run
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
name: | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
path: ./ansible_collections | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
cache: 'pip' | |
- name: Install ansible, ansible-lint, yamllint | |
run: pip3 install yamllint ansible ansible-lint virtualenv | |
- name: Run ansible-lint | |
run: cd ansible_collections && make ansible-lint | |
- name: Run sanity tests | |
run: cd ansible_collections && make sanity-tests | |
- name: Run unit tests | |
run: | | |
cd ansible_collections | |
pip3 install -r ./skupper/skupper/tests/unit/requirements.txt | |
make unit-tests |