Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jslane-h committed Dec 4, 2024
1 parent 6ea224d commit 7bec849
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/unit-test-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ 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
COPY $GITHUB_WORKSPACE /github/workspace

# Find directories containing measure.py and run tests
RUN mkdir test_results
RUN openstudio measure -t ./lib/measures > test_results/measure_check_output.txt
RUN bash -c "\
mkdir test_results && \
openstudio measure -t ./lib/measures > test_results/measure_check_output.txt && \
for dir in \$(find . -type f -name 'measure.py' -exec dirname {} \; | sort -u); do \
pytest \$dir >> test_results/pytest_output.txt; \
done"

0 comments on commit 7bec849

Please sign in to comment.