Skip to content

mention function name in log message in get_bot_command #773

mention function name in log message in get_bot_command

mention function name in log message in get_bot_command #773

Workflow file for this run

# This file is part of the EESSI build-and-deploy bot,
# see https://github.com/EESSI/eessi-bot-software-layer
#
# The bot helps with requests to add software installations to the
# EESSI software layer, see https://github.com/EESSI/software-layer
#
# author: Kenneth Hoste (@boegel)
# author: Alan O'Cais (@ocaisa)
# author: Thomas Roeblitz (@trz42)
#
# license: GPLv2
#
name: Run tests
on: [push, pull_request]
# Declare default permissions as read only.
permissions: read-all
jobs:
test:
runs-on: ubuntu-24.04
strategy:
matrix:
# for now, only test with Python 3.9+ (since we're testing in Ubuntu 24.04)
#python: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
python: ['3.9', '3.10', '3.11']
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- name: set up Python
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: ${{matrix.python}}
- name: Install required Python packages + pytest + flake8
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install pytest
python -m pip install --upgrade flake8
- name: Run test suite (without coverage)
run: |
./test.sh --verbose
- name: Run test suite (with coverage)
run: |
python -m pip install pytest-cov
./test.sh -q --cov=$PWD
- name: Run flake8 to verify PEP8-compliance of Python code
run: |
flake8