Skip to content

Commit

Permalink
Create action yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jslane-h committed Dec 4, 2024
1 parent 5ec527f commit 8dffb8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/actions/unit-test-action/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: 'Unit Test Action'
runs:
using: 'docker'
image: '../../../Dockerfile'
10 changes: 1 addition & 9 deletions .github/actions/unit-test-action/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,8 @@ RUN pip install --no-cache-dir pytest openstudio copper-bem constrain
WORKDIR /github/workspace

# Copy the current directory contents into the container
COPY $GITHUB_WORKSPACE /github/workspace
RUN ls /github/workspace
COPY . /github/workspace

RUN mkdir /app
COPY . /app
RUN ls /app

RUN mkdir /test
COPY ../../.. /test
RUN ls /test
# Find directories containing measure.py and run tests
RUN ls
RUN mkdir test_results
Expand Down

0 comments on commit 8dffb8d

Please sign in to comment.