-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update dependencies * update * update * correct schipy version * update pypi workflow * downgrade pip to 24.0 * downgrade pip to 24.0 * add setuptools to dependencies * remove python from the environment.yml and add conda workflow * latest pip in conda-forge is 24.0 * rename job * add .run to ignore
- Loading branch information
Showing
9 changed files
with
82 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: conda-deployment | ||
|
||
on: [push] | ||
|
||
jobs: | ||
Run: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.11", "3.12"] | ||
env: | ||
OS: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
mamba-version: "*" | ||
#use-mamba: true | ||
auto-update-conda: false | ||
environment-file: environment.yml | ||
auto-activate-base: false | ||
activate-environment: test | ||
python-version: ${{ matrix.python-version }} | ||
channels: conda-forge,defaults | ||
channel-priority: true | ||
show-channel-urls: true | ||
|
||
- name: Install dev-dependencies | ||
run: | | ||
python -m pip install -r requirements-dev.txt | ||
- name: Generate coverage report | ||
shell: bash -el {0} | ||
run: | | ||
conda info | ||
conda list | ||
conda config --show-sources | ||
conda config --show | ||
pytest -vvv --cov=hpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,3 +128,5 @@ dmypy.json | |
# Pyre type checker | ||
.pyre/ | ||
.idea/* | ||
.vscode/* | ||
.run/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,9 @@ History | |
------------------ | ||
|
||
* Update dependencies | ||
|
||
|
||
0.1.3 (2024-06-24) | ||
------------------ | ||
|
||
* Update dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python >=3.11 | ||
- numpy >=1.25.2 | ||
- pip >=23.2.1 | ||
- pytest >=7.4.3 | ||
- pytest-cov >=4.1.0 | ||
- numpy >=2.0.0 | ||
- scipy >=1.13.1 | ||
- pip >=24.0.0 | ||
- pytest >=8.2.2 | ||
- pytest-cov >=5.0.0 | ||
- setuptools >=70.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
black >=23.10.1 | ||
black >=24.4.2 | ||
darglint >=1.8.1 | ||
flake8-bandit >=4.1.1 | ||
flake8-bugbear >=23.9.16 | ||
flake8-bugbear >=24.4.26 | ||
flake8-docstrings >=1.7.0 | ||
flake8-rst-docstrings >=0.3.0 | ||
pep8-naming >=0.13.3 | ||
pre-commit >=3.5.0 | ||
pre-commit-hooks >=4.5.0 | ||
pytest >=7.4.3 | ||
pytest-cov >=4.1.0 | ||
reorder-python-imports >=3.12.0 | ||
pep8-naming >=0.14.1 | ||
pre-commit >=3.7.1 | ||
pre-commit-hooks >=4.6.0 | ||
pytest >=8.2.2 | ||
pytest-cov >=5.0.0 | ||
reorder-python-imports >=3.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
numpy >=1.25.2 | ||
pip >=6.2.1 | ||
numpy >=2.0.0 | ||
pip >=24.0.0 | ||
pytest >=8.2.2 | ||
pytest-cov >=5.0.0 | ||
scipy >=1.13.1 | ||
setuptools >=70.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
setup( | ||
name="hpc-utils", | ||
version="0.1.3", | ||
version="0.1.4", | ||
description="numpy utility package", | ||
author="Mostafa Farrag", | ||
author_email="[email protected]", | ||
|