Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve tests #3

Merged

Conversation

maxim-lobanov
Copy link
Collaborator

Description:
Describe your changes.

Related issue:
Add link to the related issue.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@dmitry-shibanov dmitry-shibanov merged commit fd6f900 into v-dmshib/work-on-unit-tests Mar 5, 2021
dmitry-shibanov added a commit that referenced this pull request Mar 5, 2021
* add initial tests for jdkfile, zulu and base class

* add fail-fast: false

* work on possible fix

* fixing tests

* fixing format and create create release

* add possible fix

* V malob/adopt tests (#2)

* implement adopt tests

* fix nitpicks

* return debug back

* remove to-do

* remove workflow file

* resolving a part of comments

* add changes

* resolving a part of comments

* work on resolving comments

* resolve comment

* fix calls

* resolving comments

* fixing tests

* add method with support build version

* improve tests (#3)

* improve tests

* Update installer.ts

* fix version resolution

* Update index.js

* remove import

* resolving comments

* remove extra describe and afterEach

Co-authored-by: Maxim Lobanov <[email protected]>
dmitry-shibanov added a commit that referenced this pull request Aug 23, 2021
* implement a core logic to cache dependnecies

* integrate the cache logic to entry points

* add a user doc about the dependency cache feature

* reflect changes to the dist dir

* add a prefix to the cache key

https://github.com/actions/setup-java/pull/193/files#r669521434

* test: extract build.gradle to a file in __tests__ dir

* run the restore e2e test on the specified OS

* add an e2e test for maven

* fix the dependency among workflows

* stabilize the cache on the Windows in e2e test

* add .gitignore files to __tests__/cache directories

* try to run restore after the authentication

* use the key in state to save caches in the post process

* suggest users to run without daemon if fail to save Gradle cache on Windows

* add missing description in the README.md

* run clean-up tasks in serial

* Add validation for post step (#3)

* work on fixing cache post step

* fix tests

* Update src/cleanup-java.ts

Co-authored-by: Konrad Pabjan <[email protected]>

* Update src/cache.ts

Co-authored-by: Konrad Pabjan <[email protected]>

* style: put the name of input to the constants.ts

* format: run `npm run build` to reflect changes to the dist dir

* chore: update licensed files by `licensed cache`

it still has three errors as follows:
>* setup-java.npm.sax
>  filename: /Users/kengo/GitHub/setup-java/.licenses/npm/sax.dep.yml
>    - license needs review: other
>
>* setup-java.npm.tslib-1.14.1
>  filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-1.14.1.dep.yml
>    - license needs review: 0bsd
>
>* setup-java.npm.tslib-2.3.0
>  filename: /Users/kengo/GitHub/setup-java/.licenses/npm/tslib-2.3.0.dep.yml
>    - license needs review: 0bsd

* fix: rerun ncc on macOS with node v12

* build: follow the suggestion at PR page

actions#193 (comment)

* fix: throw error in case of no package manager file found

Co-authored-by: Dmitry Shibanov <[email protected]>
Co-authored-by: Konrad Pabjan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants