Repository: BETSRG/GHEDesigner (language: python)

Issue:
Paper Cuts with Test Inputs
Issue overview
--------------
- [x] Eliminate the ORNL input test -- adapt it to use the new input file structure.  
- [x] Eliminate the test_find_design_from_input
- [x] Adapt the test_create_*_input_file unit tests in some way:
- [x] Eliminate pickling operations entirely -- we have a proper JSON input file structure
- [x] If we still want the library to be able to "produce input files" from code, that is fine, it should just generate JSON input files
- [x] Add at least one test that "installs" the library and runs the command line shim to run one of the demos.  It could be an entirely separate CI job to keep the "install" fully separate from the library unit testing.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml
index 7cc39f1b..e23647c0 100644
--- a/.github/workflows/flake8.yml
+++ b/.github/workflows/flake8.yml
@@ -12,7 +12,7 @@ jobs:
       - name: Set up Python 3.8
         uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5  # v4.2.0
         with:
-          python-version: 3.8
+          python-version: '3.8'
 
       - name: Install Pip Dependencies
         run: pip install flake8
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml
new file mode 100644
index 00000000..8c55f5e1
--- /dev/null
+++ b/.github/workflows/install.yml
@@ -0,0 +1,25 @@
+name: Test Install
+
+on: [ push ]
+
+jobs:
+  build:
+
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version: [ '3.10' ]
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python ${{ matrix.python-version }}
+        uses: actions/setup-python@v2
+        with:
+          python-version: ${{ matrix.python-version }}
+      - name: Install the package
+        run: |
+          python -m pip install --upgrade pip
+          pip install .
+      - name: Run a test file
+        run: |
+          ghedesigner demos/find_design_rectangular_single_u_tube.json /tmp
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 23adb207..dedc9409 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -15,7 +15,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5  # v4.2.0
         with:
-          python-version: 3.8
+          python-version: '3.8'
 
       - name: Install Pip Dependencies
         shell: bash
diff --git a/.gitignore b/.gitignore
index 22ee368b..42d582f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -168,3 +168,4 @@ DesignExampleOutput/
 tmp/
 examples/
 demo_outputs/
+.DS_Store


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 584faa43..0a4b5974 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,7 +8,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [ 3.8, 3.9]
+        python-version: [ '3.9' ]
 
     steps:
       - uses: actions/checkout@v2