Skip to content

Commit

Permalink
Remove azure pipelines (#7824)
Browse files Browse the repository at this point in the history
* Followup work on setup github actions

* Coverage report & split `prod_lint`

* Add env

* Remove coverage report on azure pipelines

* Remove build step on lint

* remove coverage report on prod_test

* Use `ci-info` instead of `is-ci`

* Always enable `ENABLE_TEST_RESULTS` and `AST_COMPARE` on CI

* Standalone test and remove some env

* coverage report

* reduce matrix

* standalone test

* `ci-info`

* Remove token

* Disable `coverage` on azure pipelines

* use master version of codecov-action

* Link to master status

* fix prod lint

* Use boolean env

* Remove locv report

* Try lcov report

* pin `codecov-action` version, enable `verbose`

* azure coverage

* Name

* Trigger CI

* Use `basename`

* Trigger CI

* Try `runInBand`

* try `maxWorkers`

* Remove azure pipelines

* clean up

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
  • Loading branch information
fisker and thorn0 committed Mar 23, 2020
1 parent 54f907d commit 34115cb
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 239 deletions.
17 changes: 0 additions & 17 deletions .azure-pipelines/jobs/dev-lint.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .azure-pipelines/jobs/dev-test.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .azure-pipelines/jobs/prod-build.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .azure-pipelines/jobs/prod-lint.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .azure-pipelines/jobs/prod-pack.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .azure-pipelines/jobs/prod-test.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .azure-pipelines/steps/download-dist.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .azure-pipelines/steps/install-dependencies.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .azure-pipelines/steps/install-nodejs.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .azure-pipelines/steps/publish-code-coverage.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .azure-pipelines/steps/publish-test-results.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .azure-pipelines/steps/upload-dist.yml

This file was deleted.

92 changes: 0 additions & 92 deletions azure-pipelines.yml

This file was deleted.

6 changes: 1 addition & 5 deletions jest.config.js
@@ -1,7 +1,4 @@
"use strict";
const { isCI } = require("ci-info");

const ENABLE_TEST_RESULTS = isCI || !!process.env.ENABLE_TEST_RESULTS;
const ENABLE_CODE_COVERAGE = !!process.env.ENABLE_CODE_COVERAGE;

module.exports = {
Expand All @@ -19,7 +16,7 @@ module.exports = {
"<rootDir>/src/doc/doc-debug.js",
"<rootDir>/src/main/massage-ast.js",
],
coverageReporters: ["text", "html", "cobertura", "lcov"],
coverageReporters: ["text", "lcov"],
moduleNameMapper: {
// Jest wires `fs` to `graceful-fs`, which causes a memory leak when
// `graceful-fs` does `require('fs')`.
Expand All @@ -36,6 +33,5 @@ module.exports = {
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname",
],
reporters: ["default"].concat(ENABLE_TEST_RESULTS ? "jest-junit" : []),
verbose: true,
};
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -94,7 +94,6 @@
"eslint-plugin-unicorn": "17.2.0",
"execa": "4.0.0",
"jest": "25.1.0",
"jest-junit": "10.0.0",
"jest-snapshot-serializer-ansi": "1.0.0",
"jest-snapshot-serializer-raw": "1.1.0",
"jest-watch-typeahead": "0.4.2",
Expand Down
49 changes: 3 additions & 46 deletions yarn.lock
Expand Up @@ -1549,7 +1549,7 @@ ansi-regex@^3.0.0:
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=

ansi-regex@^4.0.0, ansi-regex@^4.1.0:
ansi-regex@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
Expand Down Expand Up @@ -4589,11 +4589,6 @@ jest-environment-node@^25.1.0:
jest-mock "^25.1.0"
jest-util "^25.1.0"

jest-get-type@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e"
integrity sha512-lUseMzAley4LhIcpSP9Jf+fTrQ4a1yHQwLNeeVa2cEmbCGeoZAtYPOIv8JaxLD/sUpKxetKGP+gsHl8f8TSj8Q==

jest-get-type@^25.1.0:
version "25.1.0"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.1.0.tgz#1cfe5fc34f148dc3a8a3b7275f6b9ce9e2e8a876"
Expand Down Expand Up @@ -4640,17 +4635,6 @@ jest-jasmine2@^25.1.0:
pretty-format "^25.1.0"
throat "^5.0.0"

jest-junit@10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-10.0.0.tgz#c94b91c24920a327c9d2a075e897b2dba4af494b"
integrity sha512-dbOVRyxHprdSpwSAR9/YshLwmnwf+RSl5hf0kCGlhAcEeZY9aRqo4oNmaT0tLC16Zy9D0zekDjWkjHGjXlglaQ==
dependencies:
jest-validate "^24.9.0"
mkdirp "^0.5.1"
strip-ansi "^5.2.0"
uuid "^3.3.3"
xml "^1.0.1"

jest-leak-detector@^25.1.0:
version "25.1.0"
resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-25.1.0.tgz#ed6872d15aa1c72c0732d01bd073dacc7c38b5c6"
Expand Down Expand Up @@ -4867,18 +4851,6 @@ jest-util@^25.1.0:
is-ci "^2.0.0"
mkdirp "^0.5.1"

jest-validate@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab"
integrity sha512-HPIt6C5ACwiqSiwi+OfSSHbK8sG7akG8eATl+IPKaeIjtPOeBUd/g3J7DghugzxrGjI93qS/+RPKe1H6PqvhRQ==
dependencies:
"@jest/types" "^24.9.0"
camelcase "^5.3.1"
chalk "^2.0.1"
jest-get-type "^24.9.0"
leven "^3.1.0"
pretty-format "^24.9.0"

jest-validate@^25.1.0:
version "25.1.0"
resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.1.0.tgz#1469fa19f627bb0a9a98e289f3e9ab6a668c732a"
Expand Down Expand Up @@ -6160,16 +6132,6 @@ prettier@2.0.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.1.tgz#3f00ac71263be34684b2b2c8d7e7f63737592dac"
integrity sha512-piXGBcY1zoFOG0MvHpNE5reAGseLmaCRifQ/fmfF49BcYkInEs/naD/unxGNAeOKFA5+JxVrPyMvMlpzcd20UA==

pretty-format@^24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9"
integrity sha512-00ZMZUiHaJrNfk33guavqgvfJS30sLYf0f8+Srklv0AMPodGGHcoHgksZ3OThYnIvOd+8yMCn0YiEOogjlgsnA==
dependencies:
"@jest/types" "^24.9.0"
ansi-regex "^4.0.0"
ansi-styles "^3.2.0"
react-is "^16.8.4"

pretty-format@^25.1.0:
version "25.1.0"
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.1.0.tgz#ed869bdaec1356fc5ae45de045e2c8ec7b07b0c8"
Expand Down Expand Up @@ -6324,7 +6286,7 @@ randomfill@^1.0.3:
randombytes "^2.0.5"
safe-buffer "^5.1.0"

react-is@^16.12.0, react-is@^16.8.1, react-is@^16.8.4:
react-is@^16.12.0, react-is@^16.8.1:
version "16.12.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.12.0.tgz#2cc0fe0fba742d97fd527c42a13bec4eeb06241c"
integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==
Expand Down Expand Up @@ -7888,7 +7850,7 @@ util@^0.11.0:
dependencies:
inherits "2.0.3"

uuid@^3.3.2, uuid@^3.3.3:
uuid@^3.3.2:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
Expand Down Expand Up @@ -8149,11 +8111,6 @@ xml-name-validator@^3.0.0:
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==

xml@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=

xmlchars@^2.1.1:
version "2.2.0"
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
Expand Down

0 comments on commit 34115cb

Please sign in to comment.