We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9036ea0 commit 7a6e64eCopy full SHA for 7a6e64e
.github/workflows/ci.yaml
@@ -0,0 +1,22 @@
1
+name: Python package
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ python-version: [3.9]
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Python ${{ matrix.python-version }}
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
+ - name: Install
20
+ run: pip install .
21
+ - name: Test imports work
22
+ run: python scripts/test_import.py
scripts/test_import.py
@@ -0,0 +1,3 @@
+# A simple test to ensure that packages import correctly
+import taming.models.cond_transformer
+import taming.models.vqgan
0 commit comments