Skip to content

Commit

Permalink
test: add tmate for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjablack committed Oct 20, 2024
1 parent de2c41e commit bb00760
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # This ensures you have the full git history

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -54,9 +56,22 @@ jobs:
run: ps aux

- run: yarn build
- run: yarn test

- name: Debug - List Processes
run: ps aux

- name: Run tests with detailed output
run: |
echo "::group::Detailed Test Output"
yarn test
echo "::endgroup::"
- name: Get test coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

# Modified tmate step without the timeout-minutes option
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}

0 comments on commit bb00760

Please sign in to comment.