Skip to content

Commit 7a35d64

Browse files
committed
Removes OpenStudio as dependency
1 parent 8214f2f commit 7a35d64

File tree

2 files changed

+30
-21
lines changed

2 files changed

+30
-21
lines changed

.github/workflows/pull_request.yml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ on:
55
branches: develop
66

77
jobs:
8-
test_oslg_ubuntu_latest:
9-
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
python-version: ["3.10", "3.x"]
13-
14-
steps:
15-
- name: Check out repository
16-
uses: actions/checkout@v4
17-
- name: Set up Python
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: ${{ matrix.python-version }}
21-
- name: Install dependencies
22-
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
23-
- name: Run unit tests
24-
run: python -m unittest
8+
# test_osut_ubuntu_latest:
9+
# runs-on: ubuntu-latest
10+
# strategy:
11+
# matrix:
12+
# python-version: ["3.10", "3.x"]
13+
#
14+
# steps:
15+
# - name: Check out repository
16+
# uses: actions/checkout@v4
17+
# - name: Set up Python
18+
# uses: actions/setup-python@v5
19+
# with:
20+
# python-version: ${{ matrix.python-version }}
21+
# - name: Install dependencies
22+
# run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
23+
# - name: Run unit tests
24+
# run: python -m unittest
2525

26-
test_oslg_ubuntu_2204:
26+
test_osut_ubuntu_2204:
2727
runs-on: ubuntu-22.04
2828
strategy:
2929
matrix:
@@ -37,6 +37,14 @@ jobs:
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
- name: Install dependencies
40-
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
40+
run: python -m pip install --upgrade pip setuptools wheel oslg
4141
- name: Run unit tests
42-
run: python -m unittest
42+
run: |
43+
echo $(pwd)
44+
echo $(ls)
45+
docker pull nrel/openstudio:3.10.0
46+
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.10.0
47+
docker exec -t test pwd
48+
docker exec -t test ls
49+
docker python -m unittest
50+
docker kill test

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ readme = "README.md"
66
requires-python = ">=3.2"
77
authors = [ {name = "Denis Bourgeois", email = "[email protected]"} ]
88
maintainers = [ {name = "Denis Bourgeois", email = "[email protected]"} ]
9-
dependencies = ["oslg","openstudio>=3.6.1"]
9+
# dependencies = ["oslg","openstudio>=3.6.1"]
10+
dependencies = ["oslg"]
1011
license = "BSD-3-Clause"
1112
license-files = ["LICENSE"]
1213
classifiers = [

0 commit comments

Comments
 (0)