Skip to content

Commit

Permalink
remove tests on build process
Browse files Browse the repository at this point in the history
  • Loading branch information
vlee489 committed Sep 14, 2024
1 parent a22dc89 commit 984b034
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,6 @@ jobs:
run: |
source .venv/bin/activate
python scripts/checkUpstreamSchema.py
- name: Run tests
env:
REPORT_OUTPUT: md_report.md
shell: bash
run: |
source .venv/bin/activate
echo "REPORT_FILE=${REPORT_OUTPUT}" >> "$GITHUB_ENV"
pytest -v --md-report --md-report-flavor gfm --md-report-exclude-outcomes passed skipped xpassed --md-report-output "$REPORT_OUTPUT"
- name: Output reports to the job summary when tests fail
if: failure()
shell: bash
run: |
if [ -f "$REPORT_FILE" ]; then
echo "<details><summary>Failed Test Report</summary>" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
cat "$REPORT_FILE" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "</details>" >> $GITHUB_STEP_SUMMARY
fi
- name: Mint token
id: mint
uses: tschm/[email protected]
Expand Down

0 comments on commit 984b034

Please sign in to comment.