Skip to content

Update ansible-core used in qe-sap-deployment (#250) #33

Update ansible-core used in qe-sap-deployment (#250)

Update ansible-core used in qe-sap-deployment (#250) #33

Workflow file for this run

name: Glue Script
on:
push:
branches:
- "main"
pull_request:
paths:
- scripts/qesap/**
- .github/workflows/gluescript.yml
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-20.04]
# all available versions are in https://github.com/actions/python-versions/blob/main/versions-manifest.json
python-version: ['3.10.14', '3.11.9', '3.12.3']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: PyLint with tox
working-directory: scripts/qesap/
run: tox -e pylint
env:
PLATFORM: ${{ matrix.platform }}
- name: flake8 with tox
working-directory: scripts/qesap/
run: tox -e flake8
env:
PLATFORM: ${{ matrix.platform }}
- name: flake8 test code with tox
working-directory: scripts/qesap/
run: |
tox -e flake8_test
env:
PLATFORM: ${{ matrix.platform }}
- name: UT tox
working-directory: scripts/qesap/
run: tox
env:
PLATFORM: ${{ matrix.platform }}
- name: Test UT variants
working-directory: scripts/qesap/
run: |
tox -e pytest_verbose
tox -e pytest_hypo
tox -e pytest_finddep
env:
PLATFORM: '3.11.9'
- name: Test e2e
run: |
python -m pip install -r requirements.txt
make test-e2e