Skip to content

Commit fd23cfe

Browse files
authored
Update main.yml
1 parent 34e30b1 commit fd23cfe

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI for Cool-Graph
1+
name: CI/CD for Cool-Graph
22

33
on:
44
push:
@@ -21,21 +21,14 @@ jobs:
2121
- name: Set up Miniconda
2222
uses: conda-incubator/setup-miniconda@v2
2323
with:
24-
auto-activate-base: true # This automatically configures the shell for Conda
24+
auto-activate-base: true
2525
python-version: 3.8
2626

27-
- name:
28-
shell: bash -l {0}
29-
run: |
30-
conda env create --file environment.yml --name cool-graph-env
31-
conda activate cool-graph-env
32-
conda info
33-
34-
- name: Run tests
27+
- name: Create Conda environment
3528
shell: bash -l {0}
3629
run: |
30+
conda env create --file environment.yml --name cool-graph-env
3731
conda activate cool-graph-env
38-
pytest
3932
4033
release:
4134
runs-on: ubuntu-latest
@@ -51,12 +44,11 @@ jobs:
5144
auto-activate-base: true
5245
python-version: 3.8
5346

54-
- name: Create environment for release
47+
- name: Create Conda environment
5548
shell: bash -l {0}
5649
run: |
5750
conda env create --file environment.yml --name cool-graph-env
5851
conda activate cool-graph-env
59-
conda info
6052
6153
- name: Build and publish package
6254
shell: bash -l {0}

0 commit comments

Comments
 (0)