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

Version 1.0.0 Release #31

Closed
wants to merge 376 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
376 commits
Select commit Hold shift + click to select a range
b436dc6
modify test flow for `pip.showPackageInfo`
threeal Feb 2, 2023
5aa8fdb
catch error to print out more information if failed during pip show p…
threeal Feb 2, 2023
24bfcb8
add `appendInfo` to simplify information append when testing expect i…
threeal Feb 2, 2023
18255ab
fix wrong pip package directories information
threeal Feb 2, 2023
373886f
fix pip package executables info test on Windows
threeal Feb 2, 2023
1702239
fix temporarely disabled log by mocking `ansi-styles`
threeal Feb 3, 2023
f3d31d6
test install an invalid pip package
threeal Feb 3, 2023
4adf264
test install a valid pip package (requests)
threeal Feb 3, 2023
3235d75
modify test flow in the `deps/pip/install.test.ts`
threeal Feb 3, 2023
c5cd660
modify test flow in the `deps/pip/info.test.ts`
threeal Feb 3, 2023
b3143df
audit tests order
threeal Feb 3, 2023
725f7f9
add `pip.uninstallPackage`
threeal Feb 3, 2023
4ca4aa2
make sure pip package is uninstalled before installing it
threeal Feb 3, 2023
a4441fd
test pip install an installed package
threeal Feb 3, 2023
9eeb8fb
test uninstall a pip package
threeal Feb 3, 2023
ee80310
pip uninstall in isolated mode
threeal Feb 3, 2023
6cd0b60
replace valid pip package in `install.test.ts` to `rsa`
threeal Feb 3, 2023
dda7181
test show info of a pip package using `rsa` package
threeal Feb 4, 2023
333afe3
remove `--user` and `--isolated` options when install and uninstall p…
threeal Feb 4, 2023
4df6254
remove `PackageInfo.absoluteFiles()` function
threeal Feb 4, 2023
0d5aece
run jest sequentially
threeal Feb 6, 2023
5f471b7
extend `expect` of `@jest/globals` with `pathToBeExist` function
threeal Feb 6, 2023
308a1dc
Bump @types/node from 18.11.18 to 18.11.19
dependabot[bot] Feb 6, 2023
201c37e
Merge pull request #42 from threeal/dependabot/npm_and_yarn/types/nod…
threeal Feb 7, 2023
bce7ff2
rename `expect` module into `testing` module
threeal Feb 7, 2023
dd97b10
move `appendInfo` to `testing` module as `errorAppend`
threeal Feb 7, 2023
4da9c0e
add a function to get pip package cache paths recursively
threeal Feb 7, 2023
0097e3d
prevent `pip.showPackageInfo` from getting invalid files
threeal Feb 7, 2023
6bf7e58
make `pip.installPackage` install alongside it's dependencies
threeal Feb 7, 2023
b8af684
Bump @types/node from 18.11.19 to 18.13.0
dependabot[bot] Feb 7, 2023
0687e70
add utility functions to simplify creation of jest's expect extended …
threeal Feb 8, 2023
bd78dc3
add `expect.toBeEmpty` assertion for testing
threeal Feb 8, 2023
e90136b
add `pip.getPackageCacheInfo` function
threeal Feb 8, 2023
71674d5
remove testing of `pip.getPackageCachePaths` with `pip.getPackageCach…
threeal Feb 8, 2023
4c01bf3
add `expect.toBeIncludes` assertion for testing
threeal Feb 8, 2023
4ab48ab
add `io.writeJson` function for writing object to a file in JSON
threeal Feb 8, 2023
74c78f6
add `io.readJson` function for reading object from a file in JSON
threeal Feb 8, 2023
2d9c4e4
add `PackageCacheInfo.infoPath` function
threeal Feb 8, 2023
efb1162
rename `expect.toBeIncludes` to `expect.toIncludes`
threeal Feb 8, 2023
34a5820
Merge pull request #43 from threeal/dependabot/npm_and_yarn/types/nod…
threeal Feb 8, 2023
6c90dcb
Bump @actions/cache from 3.1.2 to 3.1.3
dependabot[bot] Feb 9, 2023
b72ada7
change `PackageCacheInfo.infoPath` to `getPackageCacheInfoPath`
threeal Feb 10, 2023
9ecf427
add `name` property in `pip.PackageCacheInfo`
threeal Feb 10, 2023
9a4eaa9
Merge remote-tracking branch 'origin/main' into pip-cache-all
threeal Feb 10, 2023
004e948
update distribution
threeal Feb 10, 2023
d4a69c9
Merge pull request #44 from threeal/dependabot/npm_and_yarn/actions/c…
threeal Feb 10, 2023
f7bdfcc
change `pip.getPackageCacheInfoPath` into `pip.getPackageCacheInfo`
threeal Feb 11, 2023
0cd993f
test if pip package cache key is different from package content cache…
threeal Feb 11, 2023
29dcc5a
Merge remote-tracking branch 'origin/main' into pip-cache-all
threeal Feb 11, 2023
2910052
rename definition for pip get package cache info
threeal Feb 11, 2023
257ae5f
add `pip.savePackageCacheInfoCache` to save cache of a package cache …
threeal Feb 11, 2023
c2f4232
move mock for `ansi-styles` to `src/testing/mock`
threeal Feb 11, 2023
e483481
change `getPackageCacheInfoCacheInfo` to be constructor of `PackageCa…
threeal Feb 11, 2023
46ec54f
include `lib` directory in the project artifact
threeal Feb 11, 2023
7feb906
change `pip.getPackageCacheInfoCacheRoot` function to be static metho…
threeal Feb 11, 2023
5c2b9d5
change `pip.getPackageCacheInfo` function to be static method of `pip…
threeal Feb 11, 2023
51a9632
change `pip.savePackageCacheInfoCache` function to be static method o…
threeal Feb 11, 2023
e902196
modify role of `pip.PackageCacheInfo`
threeal Feb 11, 2023
2b3feef
make `pip.PackageCacheInfo.saveContentInfo` return `pip.PackageConten…
threeal Feb 11, 2023
3ba5766
add `pip.PackageCacheInfo.restoreContentInfo` to restore cache of a p…
threeal Feb 12, 2023
2e681de
separate test for pip save and restore cache
threeal Feb 12, 2023
eab4e03
audit `deps/pip` module test cleanup
threeal Feb 12, 2023
671d36c
test pip save and restore content info using invalid package name
threeal Feb 12, 2023
1bb8aae
add `pip.PackageContentCacheInfo.save` to save cache of package conte…
threeal Feb 13, 2023
e99bec0
add `pip.PackageContentCacheInfo.restore` to restore cache of pip pac…
threeal Feb 13, 2023
4c4a122
fix swapped `testing.expect` error message
threeal Feb 13, 2023
52ce1cb
use `pip.PackageCacheInfo` in `pip.installCachedPackage`
threeal Feb 13, 2023
bae3569
remove old pip cache implementation
threeal Feb 13, 2023
93148f7
move `pip.installCachedPackage` implementation to `index.ts`
threeal Feb 13, 2023
6dcb9d8
remove `validatePackageName` function when installing cached pip package
threeal Feb 13, 2023
08bfbdb
rename and audit `pip.installCachedPackage` to `pip.restoreOrInstallP…
threeal Feb 13, 2023
7311765
modify `pip.PackageCacheInfo.saveContentInfo` to require content info…
threeal Feb 13, 2023
00784cf
modify `pip.showPackageInfo` to return null
threeal Feb 13, 2023
ffff92d
separate `pip/cache.test.ts` into 3 files
threeal Feb 13, 2023
4c667fc
rename `pip.PackageInfo.dependencies` into `requires`
threeal Feb 14, 2023
20e9e7b
add "setup Node project" step before running `npm install`
threeal Feb 14, 2023
303764c
use `actions/cache` instead to handle `node_modules` caching
threeal Feb 14, 2023
af7dae4
Merge pull request #45 from threeal/node-deps-cache
threeal Feb 14, 2023
b5c40f8
Bump eslint-plugin-github from 4.6.0 to 4.6.1
dependabot[bot] Feb 14, 2023
bbee32b
Merge pull request #46 from threeal/dependabot/npm_and_yarn/eslint-pl…
threeal Feb 15, 2023
b7fa343
Merge remote-tracking branch 'origin/main' into pip-cache-all
threeal Feb 15, 2023
4d00462
Merge pull request #41 from threeal/pip-cache-all
threeal Feb 15, 2023
7518511
Bump jest from 29.4.1 to 29.4.3
dependabot[bot] Feb 15, 2023
801c93a
Merge pull request #47 from threeal/dependabot/npm_and_yarn/jest-29.4.3
threeal Feb 16, 2023
36c06b6
Bump @types/node from 18.13.0 to 18.14.0
dependabot[bot] Feb 17, 2023
04dfd19
merge pull request #49 from `threeal/dependabot/npm_and_yarn/types/no…
threeal Feb 18, 2023
a00e606
install `@actions-kit/io` in this project using GitPkg
threeal Feb 20, 2023
3862585
use `@actions-kit/io` in `deps/pip/cache.ts`
threeal Feb 20, 2023
5f8520f
remove `io` directory in the source code of this project
threeal Feb 20, 2023
d009c94
merge pull request #51 from `threeal/use-actions-kit-io`
threeal Feb 20, 2023
7aea7f0
Bump @actions/cache from 3.1.3 to 3.1.4
dependabot[bot] Feb 20, 2023
2ba9436
await save package in `pip.restoreOrInstallPackage` function
threeal Feb 21, 2023
43c6b9d
change pip package cache key to using hash
threeal Feb 21, 2023
a15824d
add setup Python step in the `unit-tests` job for faster pip install
threeal Feb 21, 2023
908b281
add a pip `requirements.txt`
threeal Feb 21, 2023
77b2436
Run setup Python step after download the project artifact
threeal Feb 21, 2023
897c164
fix pip accumulate paths test on Linux
threeal Feb 21, 2023
581070a
Merge pull request #55 from threeal/setup-python-step
threeal Feb 22, 2023
b5f43dc
use new array for paths when calling actions cache functions
threeal Feb 22, 2023
5bc1b6f
skip npm install install in the `test.yml` workflow on cache hit
threeal Feb 22, 2023
03a7ae9
merge pull request #54 from `threeal/fix-pip-pkg-save-cache`
threeal Feb 22, 2023
a8e2300
merge pull request #57 from `threeal/npm-cache-skip-install`
threeal Feb 22, 2023
d5cd163
Bump actions/cache from 3.2.5 to 3.2.6
dependabot[bot] Feb 22, 2023
e881e8a
Bump @types/node from 18.14.0 to 18.14.1
dependabot[bot] Feb 23, 2023
1e22312
update distribution
threeal Feb 25, 2023
400a6d8
merge remote-tracking branch `origin/main` into `dependabot/npm_and_y…
threeal Feb 25, 2023
534ee0a
merge pull request #53 from `threeal/dependabot/npm_and_yarn/actions/…
threeal Feb 25, 2023
f83369b
merge pull request #56 from `threeal/dependabot/github_actions/action…
threeal Feb 26, 2023
ba38b95
merge pull request #58 from `threeal/dependabot/npm_and_yarn/types/no…
threeal Feb 26, 2023
2c466b2
Bump @types/node from 18.14.1 to 18.14.2
dependabot[bot] Feb 27, 2023
a16da43
merge pull request #59 from `threeal/dependabot/npm_and_yarn/types/no…
threeal Feb 28, 2023
c10650c
Bump @types/node from 18.14.2 to 18.14.6
dependabot[bot] Mar 3, 2023
5681304
replace `log.ts` in the source code with `@actions-kit/log`
threeal Mar 5, 2023
bc3dcf5
remove `log.ts` utility file
threeal Mar 5, 2023
c300a83
remove `ansi-styles` as a dependency and remove it's mock file
threeal Mar 5, 2023
f32c1a3
remove `chrono` utility directory
threeal Mar 5, 2023
e4bdcb2
merge pull request #63 from `threeal/use-actions-kit-log`
threeal Mar 5, 2023
ba5628b
use `jsonfile` to replace `@actions-kit/io` for reading and writing JSON
threeal Mar 6, 2023
0bad02f
merge pull request #64 from `threeal/use-jsonfile`
threeal Mar 6, 2023
5d10164
add `clean-build` script in the `package.json` to clean output before…
threeal Mar 6, 2023
e7a4b1c
add `clean-package` script in the `package.json` to clean output befo…
threeal Mar 6, 2023
09d9662
use `npm-run-all` to run multiple script sequentially
threeal Mar 6, 2023
2d8a49b
merge pull request #65 from `threeal/add-clean-script`
threeal Mar 6, 2023
1478508
Bump jest from 29.4.3 to 29.5.0
dependabot[bot] Mar 6, 2023
f7cd9de
merge pull request #61 from `threeal/dependabot/npm_and_yarn/types/no…
threeal Mar 7, 2023
15b34e8
bump `@actions-kit/log` to the latest commit
threeal Mar 7, 2023
a00c352
merge pull request #67 from `threeal/dependabot/npm_and_yarn/jest-29.…
threeal Mar 7, 2023
0954374
replace `exec.ts` with `@actions-kit/exec`
threeal Mar 8, 2023
1e9cc06
replace `@actions/exec` with `@actions-kit/exec`
threeal Mar 8, 2023
d0002c1
merge pull request #69 from `threeal/use-actions-kit-exec`
threeal Mar 8, 2023
f2620db
fix `lint` script not correctly process all source files
threeal Mar 9, 2023
b05891d
add `tsconfig.eslint.json` to be used by ESLint
threeal Mar 9, 2023
4a2dbdc
Bump actions/cache from 3.2.6 to 3.3.0
dependabot[bot] Mar 9, 2023
9f7fc52
Bump @types/node from 18.14.6 to 18.15.0
dependabot[bot] Mar 9, 2023
087f1e6
merge pull request #72 from `threeal/separate-tsconfig-for-eslint`
threeal Mar 10, 2023
6b9d56d
replace input getter functions with functions from `@actions-kit/envi`
threeal Mar 10, 2023
8b21511
merge pull request #76 from `threeal/use-actions-kit-envi`
threeal Mar 10, 2023
3d5aa9d
merge pull request #73 from `threeal/dependabot/github_actions/action…
threeal Mar 11, 2023
00f1605
replace `core.setFailed` with `log.fatal` from `@actions-kit/log` pac…
threeal Mar 11, 2023
beff0b9
modify action fatal log to only output the error message
threeal Mar 11, 2023
dc052c6
merge pull request #75 from `threeal/dependabot/npm_and_yarn/types/no…
threeal Mar 11, 2023
987a993
merge pull request #77 from `threeal/use-actions-kit-log-fatal`
threeal Mar 11, 2023
c037f69
merge branch `main` into `better-logging`
threeal Mar 12, 2023
f2eb63c
bump @actions-kit/exec to the latest version
threeal Mar 12, 2023
48167a3
manually specify what error to throw when executing a command
threeal Mar 12, 2023
0bf70da
Gcovr execution throws different error on error code 2
threeal Mar 12, 2023
c913298
show better message when patching Coveralls API report is failed
threeal Mar 12, 2023
71518c0
show better message when processing the action inputs
threeal Mar 12, 2023
f3c5501
show better error message when setting Coveralls repo token env var
threeal Mar 12, 2023
3a0c322
merge pull request #66 from `threeal/better-logging`
threeal Mar 12, 2023
d97dede
Bump @actions/cache from 3.1.4 to 3.2.1
dependabot[bot] Mar 12, 2023
8cc46c4
Bump actions/cache from 3.3.0 to 3.3.1
dependabot[bot] Mar 13, 2023
e4283bd
ci: add `chore` prefix in Dependabot commit message
threeal Mar 14, 2023
e4b7fd1
MERGE: pull request #80 from `threeal/dependabot-commit-message`
threeal Mar 14, 2023
0184763
chore: bump @types/node from 18.15.0 to 18.15.3
dependabot[bot] Mar 14, 2023
a9bc77f
build: update distribution files
threeal Mar 15, 2023
007b3a9
MERGE: pull request #74 from `threeal/dependabot/npm_and_yarn/actions…
threeal Mar 15, 2023
578bf85
MERGE: pull request #78 from `threeal/dependabot/github_actions/actio…
threeal Mar 15, 2023
3c241fa
chore: bump actions/checkout from 3.3.0 to 3.4.0
dependabot[bot] Mar 15, 2023
65f0547
chore: bump @actions/io from 1.1.2 to 1.1.3
dependabot[bot] Mar 15, 2023
58025c9
chore: bump typescript from 4.9.5 to 5.0.2
dependabot[bot] Mar 16, 2023
6d93609
MERGE: pull request #81 from `threeal/dependabot/npm_and_yarn/types/n…
threeal Mar 17, 2023
99d4b1d
MERGE: pull request #82 from `threeal/dependabot/github_actions/actio…
threeal Mar 17, 2023
1b74986
chore: bump `@actions-kit/exec` to the latest commit
threeal Mar 17, 2023
cb27988
feat: add a new pip command to simplify pip calls
threeal Mar 17, 2023
6a5c24c
build: update distribution files
threeal Mar 17, 2023
a8e4fa7
MERGE: pull request #83 from `threeal/dependabot/npm_and_yarn/actions…
threeal Mar 17, 2023
322de30
merge: branch `main` into `use-actions-kit-exec-command`
threeal Mar 17, 2023
443f6bc
MERGE: pull request #86 from `threeal/use-actions-kit-exec-command`
threeal Mar 17, 2023
acc24f5
chore: bump fs-extra from 11.1.0 to 11.1.1
dependabot[bot] Mar 20, 2023
eb091bf
MERGE: pull request #84 from `threeal/dependabot/npm_and_yarn/typescr…
threeal Mar 21, 2023
723e441
chore: bump @types/node from 18.15.3 to 18.15.5
dependabot[bot] Mar 21, 2023
72e7b16
MERGE: pull request #88 from `threeal/dependabot/npm_and_yarn/fs-extr…
threeal Mar 22, 2023
6aaf429
chore: use npm version of @actions-kit/exec on v0.1.0
threeal Mar 22, 2023
69e6694
MERGE: pull request #90 from `threeal/use-acions-kit-exec-from-npm`
threeal Mar 22, 2023
ad49341
MERGE: pull request #89 from `threeal/dependabot/npm_and_yarn/types/n…
threeal Mar 23, 2023
dce319f
chore: bump actions/checkout from 3.4.0 to 3.5.0
dependabot[bot] Mar 24, 2023
3408e1d
chore: bump @types/node from 18.15.5 to 18.15.7
dependabot[bot] Mar 24, 2023
ed215e1
MERGE: pull request #91 from `threeal/dependabot/github_actions/actio…
threeal Mar 26, 2023
eb4de19
MERGE: pull request #92 from `threeal/dependabot/npm_and_yarn/types/n…
threeal Mar 26, 2023
2e19ffb
chore: bump eslint-plugin-github from 4.6.1 to 4.7.0
dependabot[bot] Mar 26, 2023
215a31b
MERGE: pull request #93 from `threeal/dependabot/npm_and_yarn/eslint-…
threeal Mar 27, 2023
0442e5c
feat: use pip functions from @actions-kit/pip
threeal Mar 27, 2023
e9886b8
test: add empty test since there's no test left
threeal Mar 27, 2023
9b4ea6d
chore: bump @actions-kit/exec to the latest commit that have renamed …
threeal Mar 27, 2023
c8deb69
MERGE: pull request #95 from `threeal/use-actions-kit-pip`
threeal Mar 27, 2023
4c814fe
chore: bump @types/node from 18.15.7 to 18.15.10
dependabot[bot] Mar 27, 2023
62d2f8a
MERGE: pull request #96 from `threeal/dependabot/npm_and_yarn/types/n…
threeal Mar 29, 2023
e1e1ed4
chore: bump @types/node from 18.15.10 to 18.15.11
dependabot[bot] Mar 29, 2023
159f108
chore: bump typescript from 5.0.2 to 5.0.3
dependabot[bot] Mar 30, 2023
ba48260
MERGE: pull request #97 from `threeal/dependabot/npm_and_yarn/types/n…
threeal Mar 31, 2023
ea102a9
MERGE: pull request #98 from `threeal/dependabot/npm_and_yarn/typescr…
threeal Apr 1, 2023
24bb1ea
chore: bump ts-jest from 29.0.5 to 29.1.0
dependabot[bot] Apr 3, 2023
f16f921
MERGE: pull request #99 from `threeal/dependabot/npm_and_yarn/ts-jest…
threeal Apr 4, 2023
1a912e0
chore: bump typescript from 5.0.3 to 5.0.4
dependabot[bot] Apr 7, 2023
e11d42e
MERGE: pull request #101 from `threeal/dependabot/npm_and_yarn/typesc…
threeal Apr 8, 2023
ebe6f7f
chore: bump actions/checkout from 3.5.0 to 3.5.2
dependabot[bot] Apr 13, 2023
d36e47a
MERGE: pull request #103 from `threeal/dependabot/github_actions/acti…
threeal Apr 14, 2023
f3cb60f
chore(deps): bump @actions-kit/exec to v0.2.0
threeal Apr 16, 2023
b176053
chore(deps): bump @actions-kit/pip to the latest commit
threeal Apr 16, 2023
31a332d
MERGE: pull request #104 from `threeal/bump-@actions-kit/[email protected]`
threeal Apr 16, 2023
f9193b6
ci: trigger `test.yml` workflow on pull request and push only on late…
threeal Apr 16, 2023
c897649
ci: `test.yml` workflow excludes pull request event from `latest` branch
threeal Apr 16, 2023
c2e1ac3
MERGE: pull request #105 from `threeal/modify-workflow-trigger`
threeal Apr 16, 2023
cfa367d
chore: bump @actions-kit/envi to use version 0.1.0
threeal Apr 20, 2023
7f900a3
MERGE: pull request #106 from `threeal/bump-@actions-kit/[email protected]`
threeal Apr 20, 2023
773ef0e
feat: change `exclude` input to parse multiline string
threeal Apr 21, 2023
d8611a2
ci: add a step in the `exclusion-usage` job to check for specifying m…
threeal Apr 21, 2023
5a7df69
feat: rename `exclude` input into `excludes`
threeal Apr 21, 2023
c05033e
docs: add an "Exclude Source Files" section in the `README.md`
threeal Apr 21, 2023
ea8803a
MERGE: pull request #108 from `threeal/multiline-exclude-input`
threeal Apr 21, 2023
ea1c9f1
chore: bump @types/node from 18.15.12 to 18.15.13
dependabot[bot] Apr 21, 2023
cf732c1
MERGE: pull request #109 from `threeal/dependabot/npm_and_yarn/types/…
threeal Apr 23, 2023
8f6e446
feat: add `@actions-kit/dev` as a dependency
threeal Apr 24, 2023
250b998
feat: extend `tsconfig.json` from @actions-kit/dev
threeal Apr 24, 2023
b12e78c
chore: bump @actions-kit/dev to v0.1.1
threeal Apr 26, 2023
39df54e
feat: import ESLint configuration and dependencies from @actions-kit/dev
threeal Apr 26, 2023
f4ed6fb
chore: remove `.eslintignore` and modify `lint` script
threeal Apr 26, 2023
6fcfdcc
feat: import Jest configuration and dependencies from @actions-kit/dev
threeal Apr 26, 2023
48a885e
chore: remove `jest.setup.js` (unused)
threeal Apr 27, 2023
627a3ed
chore: remove `.prettierignore` (unused)
threeal Apr 27, 2023
234b9a8
MERGE: pull request #110 from `threeal/use-actions-kit-dev`
threeal Apr 27, 2023
b1383f3
chore: remove `testing` directory and it's dependencies (unused)
threeal Apr 27, 2023
a40a259
chore: remove unused dependencies
threeal Apr 27, 2023
eccce18
feat: modify format scripts so it handle most supported files
threeal Apr 27, 2023
fe05faa
build: remove the `format-check` script (use `format` script instead)
threeal Apr 27, 2023
331ee58
MERGE: pull request #113 from `threeal/remove-testing-dir`
threeal Apr 27, 2023
f40da72
chore: bump @types/node from 18.15.13 to 18.16.1
dependabot[bot] Apr 27, 2023
e34b3d8
MERGE: pull request #114 from `threeal/prettier-format-most-files`
threeal Apr 27, 2023
3ebdc74
MERGE: pull request #112 from `threeal/dependabot/npm_and_yarn/types/…
threeal Apr 29, 2023
bac71d7
chore: bump @actions-kit/dev from 0.1.1 to 0.2.0
dependabot[bot] Jun 14, 2023
a177a4a
feat: update function for creating ESLint and Jest config
threeal Jun 15, 2023
28670eb
ci: remove setup Python step in the unit test job
threeal Jun 15, 2023
67b315d
chore: merge pull request #118 from `threeal/workflow-rm-setup-py`
threeal Jun 15, 2023
cd4f2fb
chore: merge branch `main` into `dependabot/npm_and_yarn/actions-kit/…
threeal Jun 15, 2023
5a51bc7
chore: merge pull request #117 from `threeal/dependabot/npm_and_yarn/…
threeal Jun 15, 2023
d078a65
chore: bump actions/checkout from 3.5.2 to 3.5.3
dependabot[bot] Jun 21, 2023
cde2714
chore: merge pull request #116 from `threeal/dependabot/github_action…
threeal Jun 21, 2023
cca8dcf
chore: bump threeal/cmake-action from 1.1.0 to 1.2.0
dependabot[bot] Jun 30, 2023
6d1555d
chore: merge pull request #119 from `threeal/dependabot/github_action…
threeal Jul 2, 2023
df8ffcc
chore: bump @actions/cache from 3.2.1 to 3.2.2 (#120)
dependabot[bot] Aug 14, 2023
f838d97
chore: bump threeal/cmake-action from 1.2.0 to 1.3.0 (#121)
dependabot[bot] Aug 20, 2023
0768878
chore: bump actions/checkout from 3.5.3 to 3.6.0 (#122)
dependabot[bot] Aug 30, 2023
9690f20
chore: bump actions/checkout from 3.6.0 to 4.0.0 (#123)
dependabot[bot] Sep 10, 2023
7d9ff6d
chore: bump @actions/core from 1.10.0 to 1.10.1 (#127)
dependabot[bot] Sep 12, 2023
077f142
chore: bump @vercel/ncc from 0.36.1 to 0.38.0 (#124)
dependabot[bot] Sep 14, 2023
255688a
chore: bump actions/upload-artifact from 3.1.2 to 3.1.3 (#125)
dependabot[bot] Sep 16, 2023
8ed8ceb
chore: bump actions/cache from 3.3.1 to 3.3.2 (#126)
dependabot[bot] Sep 16, 2023
d3ac27f
chore: bump actions/checkout from 4.0.0 to 4.1.0 (#128)
dependabot[bot] Sep 27, 2023
bae97e7
docs(readme): update version in the examples (#130)
threeal Oct 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test install an invalid pip package
threeal committed Feb 3, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f3d31d620e12b6bfab14603026f605d475e2aba9
11 changes: 11 additions & 0 deletions src/deps/pip/install.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { describe, expect, test } from "@jest/globals";
import { installPackage } from "./install";

describe("test install a pip package", () => {
describe("install an invalid package", () => {
const res = installPackage("an-invalid-package");
test("should return a rejected promise", async () => {
await expect(res).rejects.toThrow();
});
});
});