Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Elisa-Visentin authored Oct 24, 2023
1 parent 803b07a commit ea9e565
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
environment-name: "ci"


cache-downloads: true
- name: Install dependencies
env:
Expand All @@ -59,8 +62,8 @@ jobs:

run: |
mamba env create -n ci -f environment.yml
mamba activate ci
# we install ctapipe using pip to be able to select any commit, e.g. the current master
pip install pytest-cov "git+https://github.com/cta-observatory/ctapipe@$CTAPIPE_VERSION"
pip install pyflakes
Expand All @@ -82,7 +85,7 @@ jobs:
run: |
# github actions starts a new shell for each "step", so we need to
# activate our env again
mamba activate ci
coverage run -m pytest -v
coverage xml
Expand Down

0 comments on commit ea9e565

Please sign in to comment.