File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Composer Pip Install
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ branches :
8+ - main
9+ workflow_dispatch : {}
10+ jobs :
11+ ComposerPip :
12+ timeout-minutes : 10
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ python_version :
17+ - " 3.7"
18+ - " 3.8"
19+ - " 3.9"
20+ install_version :
21+ - " "
22+ - " [all]"
23+ - " [dev]"
24+ steps :
25+ - uses : actions/checkout@v2
26+ - uses : actions/setup-python@v2
27+ with :
28+ python-version : ${{ matrix.python_version }}
29+ - name : Cache pip
30+ uses : actions/cache@v2
31+ with :
32+ # This path is specific to Ubuntu
33+ path : ~/.cache/pip
34+ # Look to see if there is a cache hit for the corresponding requirements file
35+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
36+ restore-keys : |
37+ ${{ runner.os }}-pip-
38+ ${{ runner.os }}-
39+ - name : Setup
40+ run : |
41+ set -exuo pipefail
42+ python -m pip install --upgrade pip wheel
43+ python -m pip install -e .${{ matrix.install_version }}
44+ - name : Run import
45+ id : tests
46+ run : |
47+ set -exuo pipefail
48+ python -c "import composer"
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def package_files(directory):
7171
7272setup (
7373 name = "mosaicml" ,
74- version = "0.3.0 " ,
74+ version = "0.3.1 " ,
7575 author = "MosaicML" ,
76767777 description = "composing methods for ML training efficiency" ,
@@ -83,7 +83,7 @@ def package_files(directory):
8383 "composer" : ['py.typed' ],
8484 "" : package_files ('composer/yamls' ),
8585 },
86- packages = setuptools .find_packages (include = ["composer " ]),
86+ packages = setuptools .find_packages (exclude = ["tests* " ]),
8787 classifiers = [
8888 "Programming Language :: Python :: 3" ,
8989 ],
You can’t perform that action at this time.
0 commit comments