Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 28 additions & 20 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ on:
branches: develop

jobs:
test_oslg_ubuntu_latest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.x"]

steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
- name: Run unit tests
run: python -m unittest
# test_osut_ubuntu_latest:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.10", "3.x"]
#
# steps:
# - name: Check out repository
# uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
# - name: Run unit tests
# run: python -m unittest

test_oslg_ubuntu_2204:
test_osut_ubuntu_2204:
runs-on: ubuntu-22.04
strategy:
matrix:
Expand All @@ -37,6 +37,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools wheel openstudio oslg
run: python -m pip install --upgrade pip setuptools wheel oslg
- name: Run unit tests
run: python -m unittest
run: |
echo $(pwd)
echo $(ls)
docker pull nrel/openstudio:3.10.0
docker run --name test --rm -d -t -v $(pwd):/work -w /work nrel/openstudio:3.10.0
docker exec -t test pwd
docker exec -t test ls
docker python -m unittest
docker kill test
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[project]
name = "osut"
version = "0.6.0"
version = "0.7.0"
description = "OpenStudio SDK utilities for Python"
readme = "README.md"
requires-python = ">=3.2"
authors = [ {name = "Denis Bourgeois", email = "denis@rd2.ca"} ]
maintainers = [ {name = "Denis Bourgeois", email = "denis@rd2.ca"} ]
dependencies = ["oslg","openstudio>=3.6.1"]
# dependencies = ["oslg","openstudio>=3.6.1"]
dependencies = ["oslg"]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting aside OpenStudio as a dependency.

license = "BSD-3-Clause"
license-files = ["LICENSE"]
classifiers = [
Expand Down
Loading
Loading