|
5 | 5 | branches: develop |
6 | 6 |
|
7 | 7 | 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 |
25 | 25 |
|
26 | | - test_oslg_ubuntu_2204: |
| 26 | + test_osut_ubuntu_2204: |
27 | 27 | runs-on: ubuntu-22.04 |
28 | 28 | strategy: |
29 | 29 | matrix: |
|
37 | 37 | with: |
38 | 38 | python-version: ${{ matrix.python-version }} |
39 | 39 | - 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 |
41 | 41 | - 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 |
0 commit comments