From 3b7713033a26d25fab9604fda36bba1eccb9be9d Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Wed, 7 Feb 2024 11:11:22 +0100 Subject: [PATCH] Test conda install too --- .github/workflows/test-conda-install.yml | 6 ++++-- .github/workflows/test-pypi-install.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-conda-install.yml b/.github/workflows/test-conda-install.yml index 3469f5c..081e778 100644 --- a/.github/workflows/test-conda-install.yml +++ b/.github/workflows/test-conda-install.yml @@ -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' @@ -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} diff --git a/.github/workflows/test-pypi-install.yml b/.github/workflows/test-pypi-install.yml index 1793f92..64d90dd 100644 --- a/.github/workflows/test-pypi-install.yml +++ b/.github/workflows/test-pypi-install.yml @@ -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: |