Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…asyconfigs into 20210707105639_new_pr_freud-analysis262
  • Loading branch information
boegel committed Oct 4, 2024
2 parents aaa19b3 + 0bd8377 commit 18059b7
Show file tree
Hide file tree
Showing 11,141 changed files with 545,595 additions and 4,664 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 13 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Static Analysis
on: [push, pull_request]

permissions:
contents: read # to fetch code (actions/checkout)

concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}}
cancel-in-progress: true

jobs:
python-linting:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8

Expand All @@ -18,3 +26,6 @@ jobs:
- name: Run flake8 to verify PEP8-compliance of Python code
run: flake8

- name: Run flake8 to verify PEP8-compliance of Easyconfigs
run: flake8 --select F,W605 --filename '*.eb'
48 changes: 19 additions & 29 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
name: easyconfigs unit tests
on: [push, pull_request]

permissions:
contents: read # to fetch code (actions/checkout)

concurrency:
group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}}
cancel-in-progress: true

jobs:
test-suite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [2.7, 3.5, 3.6, 3.7]
modules_tool: [Lmod-6.6.3, Lmod-7.8.22, Lmod-8.1.14]
python: [3.6, '3.11']
modules_tool: [Lmod-7.8.22, Lmod-8.6.8]
module_syntax: [Lua, Tcl]
# exclude some configurations: only test Tcl module syntax with Lmod 7.x and Python 2.7 & 3.5
# exclude some configurations: only test Tcl module syntax with Lmod 8.x and Python 3.6
exclude:
- modules_tool: Lmod-6.6.3
module_syntax: Tcl
- modules_tool: Lmod-8.1.14
module_syntax: Tcl
- python: 3.6
module_syntax: Tcl
- python: 3.7
- modules_tool: Lmod-7.8.22
module_syntax: Tcl
fail-fast: false
steps:
Expand All @@ -32,7 +34,7 @@ jobs:
key: eb-sourcepath

- name: set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
architecture: x64
Expand Down Expand Up @@ -121,7 +123,8 @@ jobs:
eb --show-system-info
# run test suite
python -O -m test.easyconfigs.suite
# if tests failed, print error message that is picked up by boegelbot to determine end of test output
python -O -m test.easyconfigs.suite || (echo "ERROR: Not all tests were successful" && exit 1)
unset PYTHONPATH
Expand All @@ -144,24 +147,20 @@ jobs:
eb --search '^foss-2019b.eb' | tee eb_search_foss.out
grep '/foss-2019b.eb$' eb_search_foss.out
# make sure CVS easyconfigs are included in installation (cfr. issue #10325)
echo "Searching for CVS easyconfigs..."
eb --search '^CVS-' | grep '/CVS-'
# try installing M4 with system toolchain (requires ConfigureMake easyblock + easyconfig)
# use /tmp/sources because that has cached downloads (see cache step above)
eb --prefix /tmp/$USER/$GITHUB_SHA --sourcepath /tmp/sources M4-1.4.18.eb
test-sdist:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [2.7, 3.6, 3.7]
python: [3.6, '3.11']
steps:
- uses: actions/checkout@v2

- name: set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}

Expand All @@ -181,12 +180,3 @@ jobs:
else
echo "No .git folders found in source tarball: OK"
fi
# CVS easyconfigs must be included in source tarball,
# see https://github.com/easybuilders/easybuild-easyconfigs/issues/10325
cvs_easyconfigs=$(find . -name 'CVS-*.eb')
if [ -z "$cvs_easyconfigs" ]; then
echo "CVS easyconfigs not found" && false
else
echo "Found CVS easyconfigs: $cvs_easyconfigs"
fi
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
.pydevproject
.project
LICENSE_HEADER
*.eb.bak_*
*.pyc
*.pyo
*.nja
*.out
build/
dist/
*egg-info/
.venv/
*.swp
*.ropeproject/
eb-*.log
/MANIFEST
/easybuild/easyconfigs/.eb-path-index
11 changes: 6 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.. image:: https://github.com/easybuilders/easybuild-easyconfigs/workflows/easyconfigs%20unit%20tests/badge.svg

.. image:: https://easybuilders.github.io/easybuild/images/easybuild_logo_small.png
.. image:: https://github.com/easybuilders/easybuild/raw/develop/logo/png/easybuild_logo_2022_horizontal_dark_bg_transparent.png
:align: center
:height: 400px

.. image:: https://github.com/easybuilders/easybuild-easyconfigs/workflows/easyconfigs%20unit%20tests/badge.svg

`EasyBuild <https://easybuilders.github.io/easybuild>`_ is a software build
`EasyBuild <https://easybuild.io>`_ is a software build
and installation framework that allows you to manage (scientific) software
on High Performance Computing (HPC) systems in an efficient way.

Expand All @@ -13,7 +14,7 @@ Easyconfig files are used to specify which software to build, which
version of the software (and its dependencies), which build parameters
to use (e.g., which compiler toolchain to use), etc.

The EasyBuild documentation is available at http://easybuild.readthedocs.org/.
The EasyBuild documentation is available at http://docs.easybuild.io/.

The easybuild-easyconfigs package is hosted on GitHub, along
with an issue tracker for bug reports and feature requests, see
Expand Down
Loading

0 comments on commit 18059b7

Please sign in to comment.