Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dapavlik authored Feb 20, 2025
1 parent 34e30b1 commit fd23cfe
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI for Cool-Graph
name: CI/CD for Cool-Graph

on:
push:
Expand All @@ -21,21 +21,14 @@ jobs:
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-activate-base: true # This automatically configures the shell for Conda
auto-activate-base: true
python-version: 3.8

- name:
shell: bash -l {0}
run: |
conda env create --file environment.yml --name cool-graph-env
conda activate cool-graph-env
conda info
- name: Run tests
- name: Create Conda environment
shell: bash -l {0}
run: |
conda env create --file environment.yml --name cool-graph-env
conda activate cool-graph-env
pytest
release:
runs-on: ubuntu-latest
Expand All @@ -51,12 +44,11 @@ jobs:
auto-activate-base: true
python-version: 3.8

- name: Create environment for release
- name: Create Conda environment
shell: bash -l {0}
run: |
conda env create --file environment.yml --name cool-graph-env
conda activate cool-graph-env
conda info
- name: Build and publish package
shell: bash -l {0}
Expand Down

0 comments on commit fd23cfe

Please sign in to comment.