diff --git a/.github/workflows/download_data.yml b/.github/workflows/download_data.yml index 3fc1df2..3ffa2f8 100644 --- a/.github/workflows/download_data.yml +++ b/.github/workflows/download_data.yml @@ -37,6 +37,7 @@ jobs: # Create a PR with the changes from the above script, if any. - name: Create Pull Request + if: github.event_name != 'pull_request' uses: peter-evans/create-pull-request@v8 with: commit-message: "Update stored data" @@ -52,7 +53,7 @@ jobs: on-failure: runs-on: ubuntu-latest - if: ${{ always() && (needs.download_data.result == 'failure' || needs.download_data.result == 'timed_out') && !(github.event_name == 'pull_request') }} + if: ${{ always() && (needs.download_data.result == 'failure' || needs.download_data.result == 'timed_out') && (github.event_name != 'pull_request') }} needs: - download_data steps: diff --git a/bin/download_scopesim_data.sh b/bin/download_scopesim_data.sh index 9926b50..d32fad2 100755 --- a/bin/download_scopesim_data.sh +++ b/bin/download_scopesim_data.sh @@ -102,7 +102,7 @@ popd git clone https://github.com/AstarVienna/irdb.git pushd irdb # irdb doesn't use poetry yet -pip install -e ".[test]" +pip install -r requirements.github_actions.txt popd # poetry update will upgrade only to the latest versions that are released. @@ -119,7 +119,7 @@ pip install -e ScopeSim pip install -e ScopeSim_Templates pip install -e skycalc_ipy pip install -e AnisoCADO -pip install -e irdb +# pip install -e irdb # Run the tests.