Fix proxy url setting and adding community.general collection #53
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: bashate-workflow | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- master | |
env: | |
# Global env vars used on all jobs | |
REPO_URL: 'https://github.com/rcbops/rpc-maas' | |
RE_JOB_BRANCH: ${{ github.event.pull_request.head.sha }} | |
RE_JOB_ACTION: 'tox-test' | |
# Per-Job env var info: | |
# RE_JOB_SCENARIO: 'Linting scenarios used by rpc-maas test scripts. Values(ansible-lint,ansible-syntax,bandit,bashate,docs,pep8,releasenotes)' | |
jobs: | |
bashate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Check out the repo on the runner's workspace | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Run the tox test for this scenario | |
run: ./gating/github_action_scripts/linting_run.sh | |
env: | |
RE_JOB_SCENARIO: "bashate" | |