Use Gradle 7.6 in unit tests

This commit is contained in:
Daz DeBoer 2022-12-07 17:30:05 +13:00
parent 6f59210bbe
commit d9106fb21d
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ jobs:
- name: Configure Gradle as default for unit test - name: Configure Gradle as default for unit test
uses: ./ uses: ./
with: with:
gradle-version: 7.5.1 gradle-version: 7.6
- name: Run tests - name: Run tests
run: | run: |
npm install npm install

View file

@ -49,7 +49,7 @@ test('will cleanup unused gradle versions', async () => {
const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3") const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3")
const wrapper733 = path.resolve(gradleUserHome, "wrapper/dists/gradle-7.3.3-bin") const wrapper733 = path.resolve(gradleUserHome, "wrapper/dists/gradle-7.3.3-bin")
const gradleCurrent = path.resolve(gradleUserHome, "caches/7.5.1") const gradleCurrent = path.resolve(gradleUserHome, "caches/7.6")
expect(fs.existsSync(gradle733)).toBe(true) expect(fs.existsSync(gradle733)).toBe(true)
expect(fs.existsSync(wrapper733)).toBe(true) expect(fs.existsSync(wrapper733)).toBe(true)