Skip to content

Commit

Permalink
Test conda install too
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Feb 7, 2024
1 parent 54a8734 commit 3b77130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-conda-install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Test conda install
on:
pull_request:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 3'
Expand All @@ -23,10 +25,10 @@ jobs:
- name: Conda info
shell: bash -l {0}
run: conda info
- name: Install package
- name: Install package from conda
shell: bash -l {0}
run: conda install -c conda-forge openscm-units
- name: Checkout repository
- name: Checkout repository (after installation)
uses: actions/checkout@v2
- name: Test installation
shell: bash -l {0}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-pypi-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install package
- name: Install package from PyPI
run: |
pip install --upgrade pip
pip install openscm-units --pre
- name: Checkout repository
- name: Checkout repository (after installing)
uses: actions/checkout@v2
- name: Test installation
run: |
Expand Down

0 comments on commit 3b77130

Please sign in to comment.