Skip to content

Qesap log ansible filename (#281) #394

Qesap log ansible filename (#281)

Qesap log ansible filename (#281) #394

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
ansible-galaxy install -r requirements.yml
make test-e2e