Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Merge develop and set up dependencies
description: 'Merge develop into current branch, and set up dependencies'

outputs:
pip-cache-hit:
value: ${{ steps.restore_python_dev_dependencies_cache.outputs.cache-hit }}

runs:
using: composite
steps:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/full_stack_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,18 @@ jobs:
- name: Checkout repository so that local actions can be used
uses: actions/checkout@v4
- name: Merge develop and set up dependencies
id: merge-develop-and-set-up-dependencies
uses: ./.github/actions/merge-develop-and-set-up-dependencies
- name: Generate build files
uses: ./.github/actions/generate-build-files
# Note: We are using cache for pip packages. When cache is not found, the new cache is uploaded
# after last step of this job. However, "Generate build files" job removes the pip packages
# before it's cached. So, we need to reinstall python dependencies libs after the build files
# are generated. So, incomplete packages are not cached.
- name: Reinstall python dependencies
if: ${{ steps.merge-develop-and-set-up-dependencies.outputs.pip-cache-hit == false }}
run: |
python -m scripts.install_python_dev_dependencies
e2e_test:
needs: [check_test_suites_to_run, build]
runs-on: ubuntu-22.04
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/stress_test_acceptance_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,18 @@ jobs:
- name: Checkout repository so that local actions can be used
uses: actions/checkout@v4
- name: Merge develop and set up dependencies
id: merge-develop-and-set-up-dependencies
uses: ./.github/actions/merge-develop-and-set-up-dependencies
- name: Generate build files
uses: ./.github/actions/generate-build-files
# Note: We are using cache for pip packages. When cache is not found, the new cache is uploaded
# after last step of this job. However, "Generate build files" job removes the pip packages
# before it's cached. So, we need to reinstall python dependencies libs after the build files
# are generated. So, incomplete packages are not cached.
- name: Reinstall python dependencies
if: ${{ steps.merge-develop-and-set-up-dependencies.outputs.pip-cache-hit == false }}
run: |
python -m scripts.install_python_dev_dependencies

run_acceptance_test:
needs: [build, generate-matrix]
Expand Down
Loading