From 3604e63626f798e443b015eddfbbcb77c6b6cfe4 Mon Sep 17 00:00:00 2001 From: BrycensRanch Date: Sat, 11 Mar 2023 14:56:27 -0500 Subject: [PATCH] ci(e2e): install in e2e dir --- .github/workflows/gradle.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index fdd48b66..25ee7148 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -91,6 +91,9 @@ jobs: runs-on: ubuntu-latest needs: build + defaults: + run: + working-directory: e2e steps: - name: Check out current repository uses: actions/checkout@v3 @@ -107,14 +110,12 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Grant execute permission to gradlew - run: chmod +x gradlew + run: chmod +x ../gradlew - name: 📥 Monorepo install all deps & pnpm uses: ./.github/actions/pnpm-install - working-directory: ./e2e - name: Test - working-directory: ./e2e run: pnpm e2e # I honestly detest Minecraft plugin unit testing and I don't think it's worth the time to write tests for a project like this.