-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dependency caching step to tests in CI #1975
Closed
Closed
Changes from 114 commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
caeefb7
Add dependency caching step to tests in CI
tanertopal 75a9b01
Merge branch 'main' into improve_ci_speed
danieljanes ba2cd38
Merge branch 'main' into improve_ci_speed
tanertopal b5dffd9
Merge branch 'main' into improve_ci_speed
tanertopal afe26c3
Merge branch 'main' into improve_ci_speed
tanertopal 575c7b0
Merge branch 'improve_ci_speed' of github.com:adap/flower into improv…
tanertopal b5aaaef
Merge branch 'main' into improve_ci_speed
tanertopal 51bf749
Git add bootstrap action
tanertopal 36d8533
Improve caching
tanertopal 911d82b
Fix
tanertopal c46bfce
Fix
tanertopal 9b6e454
Fix
tanertopal 0eac4f8
Remove caching
tanertopal d3105a8
Fix
tanertopal 19cfe01
Add required property
tanertopal 92f282d
Fix
tanertopal a4b0697
fix
tanertopal bd8b5af
fix
tanertopal b12ab2c
fix
tanertopal a1e9371
fix
tanertopal d47c905
Merge branch 'main' into optimize_ci_structure
tanertopal f359f7f
fix
tanertopal 5e1888c
Merge branch 'optimize_ci_structure' of github.com:adap/flower into o…
tanertopal 078e9b7
fix
tanertopal d1fb1cf
Merge branch 'main' into optimize_ci_structure
tanertopal 9240373
Fix a few more places
tanertopal c6e1b28
Fix
tanertopal 39682f3
Fix pandoc
tanertopal 0f3ffff
Add condition back to baselines
tanertopal f5d2f13
fix
tanertopal 756eb47
Fix
tanertopal 4eca066
Add dedicated job to populate CI cache
tanertopal 3fe0a7b
Merge branch 'main' into optimize_ci_structure
tanertopal 9fca3f0
Fix
tanertopal 3fcac6e
Merge branch 'optimize_ci_structure' into improve_ci_speed
tanertopal 4bb8d83
Fix
tanertopal d1c5dac
fix
tanertopal 6d60269
fix
tanertopal 873de90
Merge branch 'main' into improve_ci_speed
tanertopal 7a71c6a
Merge branch 'main' into improve_ci_speed
tanertopal a2f01f2
Fix naming
tanertopal 0b8e631
fix
tanertopal 89cfe65
Fix
tanertopal f736304
Fix
tanertopal cc16b6e
Merge branch 'main' into improve_ci_speed
tanertopal ddbdb9b
Fix
tanertopal 387812e
Remove space
tanertopal 574fae7
Fix
tanertopal 2162893
Fix
tanertopal c5de558
fix
tanertopal 76f4bb6
fix
tanertopal e039e2d
Fix
tanertopal 28da35a
fix
tanertopal f174d23
fix
tanertopal d7a2802
Fix
tanertopal d749060
Fix
tanertopal 51408d1
fxi
tanertopal f687fa9
Fix
tanertopal 0fde92a
revert
tanertopal 2f86ec4
Fix
tanertopal f1513d2
fix
tanertopal 284e2cc
Fix
tanertopal 4d03fdc
Update action.yml
tanertopal fb590ff
Fix
tanertopal 523d5d8
Merge branch 'improve_ci_speed' of github.com:adap/flower into improv…
tanertopal f2c99db
Fix
tanertopal 998cfea
Fix
tanertopal 3eb44ef
Fix
tanertopal 2e3650c
fix
tanertopal c88e8c5
Fix
tanertopal 932966e
Fix
tanertopal 23af3e1
Fix
tanertopal b4b010b
Fix
tanertopal c56fa3f
Fix
tanertopal 7311fd1
Fix
tanertopal e8f60fa
Merge branch 'main' into improve_ci_speed
tanertopal 88b2f35
Fix
tanertopal 43d7a08
Fix
tanertopal 82e636e
Fix
tanertopal 4a355bc
Fix
tanertopal b05d23d
Fix
tanertopal 754c232
Fix
tanertopal cc8492b
Fix
tanertopal 832f815
Fix
tanertopal ec129a0
Fix
tanertopal 4a263f2
Fix
tanertopal 5636f27
Fix
tanertopal 58c91d0
Fix
tanertopal fc92f40
Merge branch 'main' into improve_ci_speed
tanertopal 0983e25
Fix
tanertopal 7bea333
Fix
tanertopal 9820de2
Fix
tanertopal ffc1280
Fix
tanertopal 1810972
fix
tanertopal 460a269
Fix
tanertopal c33c005
Fix
tanertopal 8b7d05e
Fix
tanertopal f7e5567
Fix
tanertopal e53545f
Fix
tanertopal f24e6f8
Fix
tanertopal 6b338f7
Fix
tanertopal a6421c9
Fix
tanertopal 97d6795
Trigger
tanertopal 1c3eae8
Fix
tanertopal 35e7658
Fix
tanertopal b1a6789
Fix
tanertopal 40f12f1
Fix
tanertopal 7fea2c4
Fix
tanertopal 43ad100
Fix
tanertopal fefc9b7
Fix
tanertopal 0836f9b
Merge branch 'main' into improve_ci_speed
tanertopal 53342d7
Merge branch 'main' into improve_ci_speed
tanertopal 2b9de69
Update framework.yml
tanertopal 146d361
Update framework.yml
tanertopal cbacfd1
Update framework.yml
tanertopal 065c1a5
Merge branch 'main' into improve_ci_speed
tanertopal 83ecbe0
Merge branch 'main' into improve_ci_speed
tanertopal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: CI Cache | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
FLWR_TELEMETRY_ENABLED: 0 | ||
|
||
jobs: | ||
build_framework_cache: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
# Only use versions found here: | ||
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python | ||
# to ensure they are loaded from the runner image hosted tool cache | ||
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#hosted-tool-cache | ||
# By not specifying the patch version it is ensured that a version available in | ||
# the hosted tool cache is used | ||
python-version: [3.7, 3.8, 3.9, '3.10'] | ||
name: "Cache Framework" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Bootstrap | ||
id: bootstrap | ||
uses: ./.github/actions/bootstrap | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: poetry install --all-extras | ||
- name: Cache Python dependencies | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: | | ||
**/poetry.lock | ||
**/.venv | ||
~/.cache/pip | ||
~/.cache/pypoetry | ||
key: ${{ runner.os }}-${{ steps.bootstrap.outputs.python-version }}-${{ hashFiles('pyproject.toml') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing this because its the GitHub hosted cached version and saves some time.