Skip to content

Commit

Permalink
test formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 18, 2023
1 parent e4795d9 commit 582a6cd
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tests/steps/test-report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ set -o pipefail

stdout=$2

date +%s%N > "${TARGET}/start.txt"
mkdir -p "${TARGET}/temp"
printf '%s' "repo,branch\nyegor256/jaxec,master" > "${TARGET}/repositories.csv"
echo "nothing" > "${TARGET}/temp/repo-details.tex"
mkdir -p "${TARGET}/temp/reports"
mkdir -p "${TARGET}/data"
mkdir -p "${TARGET}/github"
echo "\\item foo" > "${TARGET}/temp/reports/foo.tex"
"${LOCAL}/steps/report.sh" >> "${stdout}" 2>&1
test -e "${TARGET}/report.pdf"
{
date +%s%N > "${TARGET}/start.txt"
mkdir -p "${TARGET}/temp"
printf '%s' "repo,branch\nyegor256/jaxec,master" > "${TARGET}/repositories.csv"
echo "nothing" > "${TARGET}/temp/repo-details.tex"
mkdir -p "${TARGET}/temp/reports"
mkdir -p "${TARGET}/data"
mkdir -p "${TARGET}/github"
echo "\\item foo" > "${TARGET}/temp/reports/foo.tex"
"${LOCAL}/steps/report.sh"
test -e "${TARGET}/report.pdf"
} > "${stdout}" 2>&1
echo "👍🏻 A PDF report generated correctly"

0 comments on commit 582a6cd

Please sign in to comment.