diff --git a/.github/workflows/gha-metrics.yml b/.github/workflows/gha-metrics.yml index 8019838..b259f14 100644 --- a/.github/workflows/gha-metrics.yml +++ b/.github/workflows/gha-metrics.yml @@ -12,9 +12,9 @@ jobs: steps: - uses: actions/checkout@v3 - # with: - # submodules: recursive - # ssh-key: ${{ secrets.PSPTOOL_FIXTURES_NEW_PRIVATE_KEY }} + with: + submodules: recursive + ssh-key: ${{ secrets.PSPTOOL_FIXTURES_NEW_PRIVATE_KEY }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: @@ -23,7 +23,7 @@ jobs: run: | python -m pip install --upgrade pip pip install . - - name: ... + - name: Run metrics and post comment run: | python tests/gha_metrics.py > metrics.md gh pr comment $PRNUM --body-file metrics.md @@ -31,7 +31,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} PRNUM: ${{ github.event.pull_request.number }} - - # - name: Run metrics - # run: | - # python -m unittest discover -s tests -v