From b560cf35ca11df1f6d5ac9465b3da519eea24463 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Thu, 2 Jan 2025 19:22:57 +0800 Subject: [PATCH] test --- .github/workflows/validation.yml | 9 +++++++++ tests/pr.test.js | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index a22cd67a6..4f9863fc7 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -45,6 +45,15 @@ jobs: with: files: domains/*.json + - name: testing + run: | + ls + ls ../ + echo ${{ steps.changed-files.outputs.all_changed_files }} + for file in ${{ steps.changed-files.outputs.all_changed_files }}; do + cat $file + done + - run: npm test env: EVENT: ${{ github.event_name }} diff --git a/tests/pr.test.js b/tests/pr.test.js index 1fe526d75..5de425a0f 100644 --- a/tests/pr.test.js +++ b/tests/pr.test.js @@ -20,7 +20,6 @@ t("Modified JSON files must be owned by the PR author", (t) => { } MODIFIED_FILES.forEach((file) => { - console.log(file) const domain = fs.readJsonSync(path.join(domainsPath, file)); t.true(