-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tests for controllers Signed-off-by: cyc60 <[email protected]> * Move pagination to gql query funcs Signed-off-by: cyc60 <[email protected]> * Fix a nested bug in tests for clients Signed-off-by: cyc60 <[email protected]> * Implement batch deposits (#79) * Implement batch deposits * Update packages to latest * Fix type * Fix tests * Fix validator selection * Updaate pyproject version * Add faker for test data Signed-off-by: cyc60 <[email protected]> * Increase batch param (#81) Co-authored-by: cyc60 <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,149 additions
and
480 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 |
---|---|---|
|
@@ -20,6 +20,38 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] | ||
test: | ||
name: Testing | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8.12 | ||
|
||
# Install poetry | ||
- name: Load cached Poetry installation | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.local | ||
key: poetry-0 | ||
- name: Install Poetry | ||
uses: snok/install-poetry@v1 | ||
with: | ||
virtualenvs-create: true | ||
virtualenvs-in-project: true | ||
installer-parallel: true | ||
|
||
# Install dependencies | ||
- name: Install dependencies | ||
run: poetry install --no-interaction --no-root | ||
|
||
# Run tests | ||
- name: Run tests | ||
run: poetry run pytest -s oracle/ | ||
docker: | ||
name: Build Docker Image | ||
runs-on: ubuntu-latest | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 22.1.0 | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
|
||
|
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
Oops, something went wrong.