-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen dependency version constraints wherever possible (#19)
* Loosen version constraint for typing-extensions * remove dependency version upper bounds and loosen numpy for previous python * Add test for building lock file * Fix numpy version spec for 3.8 * Update mypy, Put test-lock on schedule * Lower typing-extensions even further to 3.10.0.2 * Update openpulse to >=0.4.1 * Lower version constraint for mypy-extensions, update mypy Co-authored-by: Philip Reinhold <[email protected]>
- Loading branch information
1 parent
e3d65b3
commit 32cb438
Showing
4 changed files
with
127 additions
and
41 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,40 @@ | ||
name: test-lock | ||
|
||
on: | ||
schedule: | ||
- cron: '0 19 * * *' # Every 19:00 UTC = 12:00 PST | ||
|
||
jobs: | ||
check-rebuild-lock: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Check out OQpy | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
id: setup-python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install poetry | ||
run: | | ||
make install-poetry | ||
poetry --version | ||
poetry config virtualenvs.in-project true | ||
- name: Build lock file | ||
run: poetry lock | ||
|
||
- name: Install dependencies | ||
run: poetry install --no-root | ||
|
||
- name: Install OQpy using pip | ||
run: poetry run pip install . | ||
|
||
- name: Run pytest | ||
run: poetry run make check-tests |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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