-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PiperOrigin-RevId: 625433936
- Loading branch information
0 parents
commit ed92dd0
Showing
163 changed files
with
66,958 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Unittests | ||
|
||
# Allow to trigger the workflow manually (e.g. when deps changes) | ||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
unittest-job: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Install deps | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10 | ||
# Uncomment to cache of pip dependencies (if tests too slow) | ||
# cache: pip | ||
# cache-dependency-path: '**/pyproject.toml' | ||
|
||
- run: pip --version | ||
- run: pip install -e .[extras] | ||
- run: pip freeze | ||
|
||
# Run tests | ||
- name: Run tests | ||
run: python run_tests.py |
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,25 @@ | ||
# Compiled python modules. | ||
*.pyc | ||
|
||
# Byte-compiled | ||
_pycache__/ | ||
.cache/ | ||
|
||
# Poetry, setuptools, PyPI distribution artifacts. | ||
/*.egg-info | ||
.eggs/ | ||
build/ | ||
dist/ | ||
poetry.lock | ||
|
||
# Tests | ||
.pytest_cache/ | ||
|
||
# Type checking | ||
.pytype/ | ||
|
||
# Other | ||
*.DS_Store | ||
|
||
# PyCharm | ||
.idea |
Oops, something went wrong.