This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separating the database and caching infrastructure. (#180)
* Starting on caching. * Successfully continuing an adagrid run from a database. * Caching configuration and null hypotheses in duckdb. * Use pottery/redis/upstash for locks and nextid. * Model data caching (e.g. rng). * birthtime, worker_id for tiles * ClickhouseStore * Why are the ids inconsistent? * Why are the ids inconsistent? * Why are the ids inconsistent? * Adding some documentation to Clickhouse and Store. * Add keyring dependency. * Mock keyring when no keyring is available. * Allow get_password to return None.
- Loading branch information
1 parent
098fcf5
commit ce18597
Showing
34 changed files
with
4,538 additions
and
2,327 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,14 +51,14 @@ jobs: | |
|
||
- name: Update environment | ||
run: | | ||
poetry env use ${{ matrix.python-version }} && poetry install --with=test | ||
poetry env use ${{ matrix.python-version }} && poetry install --with=test,cloud | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/[email protected] | ||
if: github.ref != 'refs/heads/main' | ||
|
||
- name: Run all pre-commit checks on change files. | ||
- name: Run all pre-commit checks on changed files. | ||
run: poetry run pre-commit run --color=always --files ${{ steps.changed-files.outputs.all_changed_files }} | ||
if: github.ref != 'refs/heads/main' | ||
|
||
|
@@ -67,7 +67,7 @@ jobs: | |
if: github.ref == 'refs/heads/main' | ||
|
||
- name: Pytest | ||
run: poetry run pytest -n auto | ||
run: poetry run pytest -n auto -s | ||
|
||
# TODO: this doesn't currently work because only the imprint repo has the SLACK_BOT_TOKEN | ||
# - name: Report failures on Slack | ||
|
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
Oops, something went wrong.