Skip to content

Commit

Permalink
update workflow module test
Browse files Browse the repository at this point in the history
  • Loading branch information
vsc46128 vscuser committed Mar 27, 2024
1 parent 5104c5d commit 12d14d6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
14 changes: 14 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is part of the EESSI build-and-deploy bot,
# see https://github.com/EESSI/eessi-bot-software-layer
#
# author: Kenneth Hoste (@boegel)
#
# license: GPLv2
#

[flake8]
max-line-length = 120

# ignore "Black would make changes" produced by flake8-black
# see also https://github.com/houndci/hound/issues/1769
extend-ignore = BLK100
14 changes: 6 additions & 8 deletions .github/workflows/script_module_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ jobs:
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v3
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
- name: Set up Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: "3.6"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
max-line-length: "120"
path: "scripts/available_software"
- name: Run flake8 to verify PEP8-compliance of Python code
run: |
flake8
pytest-tests:
runs-on: ubuntu-20.04
Expand All @@ -37,7 +35,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: '3.10'
python-version: '3.6'
- name: Install dependencies
run: |
cd scripts/available_software
Expand Down

0 comments on commit 12d14d6

Please sign in to comment.