Skip to content

Make scope in generate tox matrix optional #67

Make scope in generate tox matrix optional

Make scope in generate tox matrix optional #67

Workflow file for this run

name: ci
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch: null
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.1
self-test-network-integration:
uses: ./.github/workflows/network_integration.yaml
with:
lab_title: cisco_nxos
network_os: cisco.nxos.nxos
pytest_addopts: "--color=yes -n 2"
collection_pre_install: >-
git+https://github.com/ansible-collections/ansible.utils.git
git+https://github.com/ansible-collections/ansible.netcommon.git
dry_run: true
dry_run_repo: ansible-collections/cisco.nxos
secrets:
cml_ssh_password: "selftest-user" # These are placeholder values
virl_password: "selftest-pass"
virl_host: "examplehost"
check:
if: always()
permissions:
id-token: write
checks: read
runs-on: ubuntu-latest
needs:
- lint
- self-test-network-integration
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}