Skip to content

Commit

Permalink
Use requiremets.txt for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneVoss committed Jan 10, 2024
1 parent 2c2cab9 commit 1b9b2f3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
# Add multiple Python versions here to run tests on new(er) versions.
python-version: ["3.8", "3.11"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
# Add multiple Python versions here to run tests on new(er) versions.
python-version: ["3.8", "3.11"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -52,9 +52,7 @@ jobs:
run: |
source $CONDA/etc/profile.d/conda.sh
conda activate
conda install -y -c conda-forge mayavi traits traitsui pyface pyfmi h5py mpi4py pytest-cov psutil pytables pyyaml matplotlib mamba pandas openpyxl jupyter jupyter-book flake8 pylint
#python -m pip install --upgrade pip
#pip install pylint
conda install -y -c conda-forge --file ./tests/requirements.txt
# Install the package itself to make sure that all imports work.
pip install .
- name: Analysing the code with pylint
Expand Down
20 changes: 20 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# These are the requirements to be used during regression testing
mayavi
traits
traitsui
pyface
pyfmi
h5py
mpi4py
pytest-cov
psutil
pytables
pyyaml
matplotlib
mamba
pandas
openpyxl
jupyter
jupyter-book
flake8
pylint

0 comments on commit 1b9b2f3

Please sign in to comment.