Skip to content

Commit e5ef73e

Browse files
committed
Added conda file
1 parent 6f1f27b commit e5ef73e

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828

2929
steps:
3030
- name: Set up git repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232

3333
- name: Set up Miniconda
3434
uses: conda-incubator/setup-miniconda@v2
3535
with:
3636
# More info on options: https://github.com/conda-incubator/setup-miniconda
3737
python-version: ${{ matrix.python-version }}
38-
environment-file: requirements.txt
38+
environment-file: environment.yml
3939
channels: defaults
4040
activate-environment: numerical-methods
4141
auto-update-conda: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For the implementation in MATLAB, see [this repository](https://github.com/cfgnu
1111
#### Using Conda (recommended)
1212

1313
```sh
14-
conda env create --file "requirements.txt" --name "numerical-methods"
14+
conda env create
1515
conda activate numerical-methods
1616
```
1717

environment.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: numerical-methods
2+
3+
channels:
4+
- defaults
5+
6+
dependencies:
7+
- python=>3.6
8+
- pip
9+
- pip:
10+
- -r requirements.txt

0 commit comments

Comments
 (0)