Skip to content

Commit

Permalink
Fix minor issues in the build-gcpy-environment.yml file
Browse files Browse the repository at this point in the history
.github/workflows/build-gcpy-environment.yml
- Use [email protected] (the latest version)
- Import gcpy, not numpy

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Jan 25, 2024
1 parent 730cb82 commit 993a13b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-gcpy-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "dev" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v1.8.0
with:
micromamba-version: 'latest'
environment-file: docs/source/environment.yml
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- name: Import gcpy in micromamba environment (bash)
run: python -c "import numpy"
run: python -c "import gcpy"
shell: bash -el {0}
- name: Run custom command in micromamba environment
run: python -m gcpy.examples.plotting.create_test_plot
Expand Down

0 comments on commit 993a13b

Please sign in to comment.