From 80eb8982802d95e1f6da6e9b58053ed330814abc Mon Sep 17 00:00:00 2001 From: JCGuerrero Date: Mon, 3 Feb 2025 08:44:33 -0600 Subject: [PATCH 1/4] Update always.yml --- .github/workflows/always.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/always.yml b/.github/workflows/always.yml index 667c516..ee5dc6d 100644 --- a/.github/workflows/always.yml +++ b/.github/workflows/always.yml @@ -18,11 +18,16 @@ jobs: test: needs: id - uses: percebus/github-actions-npm/.github/workflows/npm_test.yml@main - with: - reporter: jest-junit - list-tests: all - files_pattern: junit.xml + runs-on: ubuntu-latest + steps: + - uses: percebus/github-actions-common/.github/actions/checkout@main + - uses: percebus/github-actions-node/.github/actions/node_setup@main + - uses: percebus/github-actions-npm/.github/actions/npm_install@main + + - name: npm test + run: npm test + - uses: percebus/github-actions-testing/.github/actions/junit@main + testem: if: false # FIXME not working From 9b51785c3b1e4b26ac03c6ee08cbc6dd90f211d1 Mon Sep 17 00:00:00 2001 From: JCGuerrero Date: Mon, 3 Feb 2025 08:48:05 -0600 Subject: [PATCH 2/4] Update always.yml --- .github/workflows/always.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/always.yml b/.github/workflows/always.yml index ee5dc6d..b237407 100644 --- a/.github/workflows/always.yml +++ b/.github/workflows/always.yml @@ -27,6 +27,8 @@ jobs: - name: npm test run: npm test - uses: percebus/github-actions-testing/.github/actions/junit@main + with: + list-tests: all testem: @@ -39,7 +41,7 @@ jobs: tests: - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' # TODO needs: test strategy: fail-fast: false @@ -72,10 +74,8 @@ jobs: - name: npm test run: npm test - - uses: percebus/github-actions-testing/.github/actions/test-reporter@main + - uses: percebus/github-actions-testing/.github/actions/junit@main with: - name: Unit Tests @ node:${{ matrix.node }}@${{ matrix.os }} - reporter: jest-junit - files_pattern: junit.xml - list-suites: all - list-tests: failed + tests_name: Unit Tests @ node:${{ matrix.node }}@${{ matrix.os }} + summary_title: "" + publish-test-deltas: "false" From 1aff1e25da6773711e90be97ae91b7ab31d6b7ff Mon Sep 17 00:00:00 2001 From: JCGuerrero Date: Mon, 3 Feb 2025 08:49:43 -0600 Subject: [PATCH 3/4] f --- .github/PULL_REQUEST_TEMPLATE.md | 11 +++++++++++ .github/workflows/always.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..8b4cf8b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +# Summary + +{FIXME} + +# Details + +{FIXME} + +# Changes in action + +{FIXME} diff --git a/.github/workflows/always.yml b/.github/workflows/always.yml index b237407..af6829a 100644 --- a/.github/workflows/always.yml +++ b/.github/workflows/always.yml @@ -59,7 +59,7 @@ jobs: - 23 os: - ubuntu-latest -# - macOS-latest # FIXME + - macOS-latest # FIXME - windows-latest runs-on: ${{ matrix.os }} From 39a79f18bbf6c5319a952783bb507bc8b8961b25 Mon Sep 17 00:00:00 2001 From: JCGuerrero Date: Mon, 3 Feb 2025 08:55:57 -0600 Subject: [PATCH 4/4] f --- .github/workflows/always.yml | 7 +++++-- TODO.md | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/always.yml b/.github/workflows/always.yml index af6829a..0b8d62c 100644 --- a/.github/workflows/always.yml +++ b/.github/workflows/always.yml @@ -13,10 +13,13 @@ jobs: - name: id id: id run: echo "BUILD_ID=$(date +%s)" >> $GITHUB_ENV + - name: echo run: echo ${{ env.BUILD_ID }} + test: + name: npm test needs: id runs-on: ubuntu-latest steps: @@ -41,7 +44,7 @@ jobs: tests: - # if: github.ref == 'refs/heads/main' # TODO + if: github.ref == 'refs/heads/main' needs: test strategy: fail-fast: false @@ -59,7 +62,7 @@ jobs: - 23 os: - ubuntu-latest - - macOS-latest # FIXME + - macOS-latest - windows-latest runs-on: ${{ matrix.os }} diff --git a/TODO.md b/TODO.md index 13ba29b..b369f83 100644 --- a/TODO.md +++ b/TODO.md @@ -2,7 +2,7 @@ ## TODOs -- [ ] Consolidate `unit.spec.es6.js` with `unit.spec.js` tests +- [x] ~~Consolidate `unit.spec.es6.js` with `unit.spec.js` tests~~ - [ ] Stop using TODO.md and use "Issues" instead. ### Prettier