Skip to content

Commit

Permalink
sane interfaces integration (Stability-AI#135)
Browse files Browse the repository at this point in the history
* update .gitignore

* move submodule

* update interfaces

* remove redundant files

* remove unnecessary workflow

* CI to checkout recursive submodules

* fix submodule imports

* update conftest w tensorizer path

why is this even necessary? can we please make these packages installable so we don't have to deal with these path changing headaches?

* explicitly update submodule of submodule

* smoke test

* Update .github/workflows/unit_testing.yaml

* Update tests/conftest.py

* Install tensorizer requirements

* Another package

* ignore submodule path for testing

* syntax fix+clean up

Co-authored-by: Stephan Auerhahn <[email protected]>
  • Loading branch information
dmarx and palp authored Nov 15, 2022
1 parent b6ed324 commit 5325184
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 10,192 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unit_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -28,4 +30,4 @@ jobs:
pip install .[dev]
- name: Test with pytest
run: |
pytest -s
pytest -s --ignore=src/stability_sdk/interfaces
55 changes: 0 additions & 55 deletions .github/workflows/update-interfaces.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
*.png
dist/
pyenv/
.venv/
*venv/
.env
generation-*.pb.json
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "api-interfaces"]
path = api-interfaces
path = src/stability_sdk/interfaces
url = https://github.com/stability-ai/api-interfaces
1 change: 0 additions & 1 deletion api-interfaces
Submodule api-interfaces deleted from 77e2a1
Loading

0 comments on commit 5325184

Please sign in to comment.