From aac3a78a6cefa7d43410d35934c48f835960fa4d Mon Sep 17 00:00:00 2001 From: uzlopak Date: Tue, 24 Oct 2023 20:13:43 +0200 Subject: [PATCH 1/4] add workflow for Fastify Integration testing --- .github/workflows/fastify-ci.yml | 47 ++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/fastify-ci.yml diff --git a/.github/workflows/fastify-ci.yml b/.github/workflows/fastify-ci.yml new file mode 100644 index 0000000..9c7ff97 --- /dev/null +++ b/.github/workflows/fastify-ci.yml @@ -0,0 +1,47 @@ +name: Fastify Integration Tests + +on: + push: + branches: + - main + - master + - next + - 'v*' + paths-ignore: + - 'docs/**' + - '*.md' + pull_request: + paths-ignore: + - 'docs/**' + - '*.md' + +jobs: + test: + name: Fastify Integration Tests + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Check out repo + uses: actions/checkout@v3 + with: + persist-credentials: false + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: lts/* + + - name: Install dependencies + run: npm i --ignore-scripts + + - name: Symlink + run: npm link + + - name: Test Fastify with light-my-request + run: | + git clone https://github.com/fastify/fastify.git --depth 1 && + cd fastify && + npm i --ignore-scripts && + npm link light-my-request && + npm run unit From 75b7e2baa2c098908811c354526f683269adb237 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Tue, 24 Oct 2023 23:38:40 +0200 Subject: [PATCH 2/4] test --- .github/workflows/ci.yml | 2 +- .github/workflows/fastify-ci.yml | 47 -------------------------------- 2 files changed, 1 insertion(+), 48 deletions(-) delete mode 100644 .github/workflows/fastify-ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b00276..8bf126b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 + uses: fastify/workflows/.github/workflows/plugins-ci.yml@fastify-integration with: license-check: true lint: true diff --git a/.github/workflows/fastify-ci.yml b/.github/workflows/fastify-ci.yml deleted file mode 100644 index 9c7ff97..0000000 --- a/.github/workflows/fastify-ci.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Fastify Integration Tests - -on: - push: - branches: - - main - - master - - next - - 'v*' - paths-ignore: - - 'docs/**' - - '*.md' - pull_request: - paths-ignore: - - 'docs/**' - - '*.md' - -jobs: - test: - name: Fastify Integration Tests - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - name: Check out repo - uses: actions/checkout@v3 - with: - persist-credentials: false - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: lts/* - - - name: Install dependencies - run: npm i --ignore-scripts - - - name: Symlink - run: npm link - - - name: Test Fastify with light-my-request - run: | - git clone https://github.com/fastify/fastify.git --depth 1 && - cd fastify && - npm i --ignore-scripts && - npm link light-my-request && - npm run unit From e1f746d4982531c36626a8cd5e4eb284554f4499 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Tue, 24 Oct 2023 23:42:29 +0200 Subject: [PATCH 3/4] activate fastify-integration --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bf126b..acd8e09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,5 +19,6 @@ jobs: test: uses: fastify/workflows/.github/workflows/plugins-ci.yml@fastify-integration with: + fastify-integration: true license-check: true lint: true From 59a7277b484cd12238331449bfefd416ca5e1613 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Fri, 27 Oct 2023 10:27:59 +0200 Subject: [PATCH 4/4] fix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acd8e09..2f7d384 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ on: jobs: test: - uses: fastify/workflows/.github/workflows/plugins-ci.yml@fastify-integration + uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3 with: - fastify-integration: true + fastify-dependency-integration: true license-check: true lint: true