From 6aa3fbeec451dea2e5f6e6f43d43b143314ec480 Mon Sep 17 00:00:00 2001 From: emad-salah Date: Wed, 15 Sep 2021 15:34:48 +0100 Subject: [PATCH 1/4] Added GunDB test step to GitHub Actions --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5aa1356..4a64d84a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,8 @@ jobs: repo: ['shocknet/Wizard'] runs-on: ubuntu-latest steps: + - name: Test GunDB + run: yarn test:gun - name: Repository Dispatch uses: peter-evans/repository-dispatch@v1 with: From 66a312a03fe460a5403407b2cd22201c7855a02d Mon Sep 17 00:00:00 2001 From: emad-salah Date: Thu, 16 Sep 2021 10:34:50 +0100 Subject: [PATCH 2/4] Fix Test CI --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a64d84a..f015ffb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,11 @@ jobs: repo: ['shocknet/Wizard'] runs-on: ubuntu-latest steps: + - name: Checkout 🛎️ + uses: actions/checkout@v2.3.1 + with: + persist-credentials: false + ref: ${{ github.ref }} - name: Test GunDB run: yarn test:gun - name: Repository Dispatch From c9a70a4111945c19a97f3642c4ecd3b4f7653437 Mon Sep 17 00:00:00 2001 From: emad-salah Date: Thu, 16 Sep 2021 10:39:44 +0100 Subject: [PATCH 3/4] Install dependencies before running test and emojis ;) --- .github/workflows/main.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f015ffb1..3c2453b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,14 +19,19 @@ jobs: repo: ['shocknet/Wizard'] runs-on: ubuntu-latest steps: - - name: Checkout 🛎️ + - name: 🛎️ Checkout uses: actions/checkout@v2.3.1 with: persist-credentials: false ref: ${{ github.ref }} - - name: Test GunDB + + - name: ⚙️ Install Dependencies + run: yarn install + + - name: 📝 Test GunDB run: yarn test:gun - - name: Repository Dispatch + + - name: 📯 Repository Dispatch uses: peter-evans/repository-dispatch@v1 with: token: ${{ secrets.REPO_ACCESS_TOKEN }} From e26c2ab64c70e68ebc91bf0a508d6fcc234e782e Mon Sep 17 00:00:00 2001 From: emad-salah Date: Thu, 16 Sep 2021 13:13:55 +0100 Subject: [PATCH 4/4] Use `yarn test` instead of `yarn test:gun` --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c2453b1..1bb412c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,8 +28,8 @@ jobs: - name: ⚙️ Install Dependencies run: yarn install - - name: 📝 Test GunDB - run: yarn test:gun + - name: 📝 Run Tests + run: yarn test - name: 📯 Repository Dispatch uses: peter-evans/repository-dispatch@v1