Skip to content

Commit e19c65e

Browse files
authored
Remove pkg/_popularity + update CI (#8464)
1 parent c2e1e05 commit e19c65e

File tree

11 files changed

+15
-295
lines changed

11 files changed

+15
-295
lines changed

.github/workflows/dart.yml

Lines changed: 15 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ jobs:
4040
- name: mono_repo self validate
4141
run: dart pub global run mono_repo generate --validate
4242
job_002:
43-
name: "smoke_test; PKGS: app, pkg/_popularity, pkg/_pub_shared, pkg/api_builder, pkg/fake_gcloud, pkg/pub_package_reader, pkg/web_app, pkg/web_css; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
43+
name: "smoke_test; PKGS: app, pkg/_pub_shared, pkg/api_builder, pkg/fake_gcloud, pkg/pub_package_reader, pkg/web_app, pkg/web_css; `dart format --output=none --set-exit-if-changed .`, `dart analyze --fatal-infos .`"
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Cache Pub hosted dependencies
4747
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
4848
with:
4949
path: "~/.pub-cache/hosted"
50-
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:app-pkg/_popularity-pkg/_pub_shared-pkg/api_builder-pkg/fake_gcloud-pkg/pub_package_reader-pkg/web_app-pkg/web_css;commands:format-analyze_0"
50+
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:app-pkg/_pub_shared-pkg/api_builder-pkg/fake_gcloud-pkg/pub_package_reader-pkg/web_app-pkg/web_css;commands:format-analyze_0"
5151
restore-keys: |
52-
os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:app-pkg/_popularity-pkg/_pub_shared-pkg/api_builder-pkg/fake_gcloud-pkg/pub_package_reader-pkg/web_app-pkg/web_css
52+
os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:app-pkg/_pub_shared-pkg/api_builder-pkg/fake_gcloud-pkg/pub_package_reader-pkg/web_app-pkg/web_css
5353
os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0
5454
os:ubuntu-latest;pub-cache-hosted
5555
os:ubuntu-latest
@@ -73,19 +73,6 @@ jobs:
7373
run: dart analyze --fatal-infos .
7474
if: "always() && steps.app_pub_get.conclusion == 'success'"
7575
working-directory: app
76-
- id: pkg__popularity_pub_get
77-
name: pkg/_popularity; dart pub get
78-
run: dart pub get
79-
if: "always() && steps.checkout.conclusion == 'success'"
80-
working-directory: pkg/_popularity
81-
- name: "pkg/_popularity; dart format --output=none --set-exit-if-changed ."
82-
run: "dart format --output=none --set-exit-if-changed ."
83-
if: "always() && steps.pkg__popularity_pub_get.conclusion == 'success'"
84-
working-directory: pkg/_popularity
85-
- name: "pkg/_popularity; dart analyze --fatal-infos ."
86-
run: dart analyze --fatal-infos .
87-
if: "always() && steps.pkg__popularity_pub_get.conclusion == 'success'"
88-
working-directory: pkg/_popularity
8976
- id: pkg__pub_shared_pub_get
9077
name: pkg/_pub_shared; dart pub get
9178
run: dart pub get
@@ -729,45 +716,6 @@ jobs:
729716
- job_007
730717
- job_008
731718
job_017:
732-
name: "unit_test; PKG: pkg/_popularity; `dart test --run-skipped`"
733-
runs-on: ubuntu-latest
734-
steps:
735-
- name: Cache Pub hosted dependencies
736-
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2
737-
with:
738-
path: "~/.pub-cache/hosted"
739-
key: "os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:pkg/_popularity;commands:test_09"
740-
restore-keys: |
741-
os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0;packages:pkg/_popularity
742-
os:ubuntu-latest;pub-cache-hosted;sdk:3.6.0
743-
os:ubuntu-latest;pub-cache-hosted
744-
os:ubuntu-latest
745-
- name: Setup Dart SDK
746-
uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
747-
with:
748-
sdk: "3.6.0"
749-
- id: checkout
750-
name: Checkout repository
751-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
752-
- id: pkg__popularity_pub_get
753-
name: pkg/_popularity; dart pub get
754-
run: dart pub get
755-
if: "always() && steps.checkout.conclusion == 'success'"
756-
working-directory: pkg/_popularity
757-
- name: "pkg/_popularity; dart test --run-skipped"
758-
run: dart test --run-skipped
759-
if: "always() && steps.pkg__popularity_pub_get.conclusion == 'success'"
760-
working-directory: pkg/_popularity
761-
needs:
762-
- job_001
763-
- job_002
764-
- job_003
765-
- job_004
766-
- job_005
767-
- job_006
768-
- job_007
769-
- job_008
770-
job_018:
771719
name: "unit_test; PKG: pkg/_pub_shared; `dart test --run-skipped`"
772720
runs-on: ubuntu-latest
773721
steps:
@@ -806,7 +754,7 @@ jobs:
806754
- job_006
807755
- job_007
808756
- job_008
809-
job_019:
757+
job_018:
810758
name: "unit_test; PKG: pkg/fake_gcloud; `dart test --run-skipped`"
811759
runs-on: ubuntu-latest
812760
steps:
@@ -845,7 +793,7 @@ jobs:
845793
- job_006
846794
- job_007
847795
- job_008
848-
job_020:
796+
job_019:
849797
name: "unit_test; PKG: pkg/indexed_blob; `dart test --run-skipped`"
850798
runs-on: ubuntu-latest
851799
steps:
@@ -884,7 +832,7 @@ jobs:
884832
- job_006
885833
- job_007
886834
- job_008
887-
job_021:
835+
job_020:
888836
name: "unit_test; PKG: pkg/pub_package_reader; `dart test --run-skipped`"
889837
runs-on: ubuntu-latest
890838
steps:
@@ -923,7 +871,7 @@ jobs:
923871
- job_006
924872
- job_007
925873
- job_008
926-
job_022:
874+
job_021:
927875
name: "unit_test; PKG: pkg/web_app; `dart test --run-skipped`"
928876
runs-on: ubuntu-latest
929877
steps:
@@ -962,7 +910,7 @@ jobs:
962910
- job_006
963911
- job_007
964912
- job_008
965-
job_023:
913+
job_022:
966914
name: "unit_test; PKG: pkg/web_css; `dart test --run-skipped`"
967915
runs-on: ubuntu-latest
968916
steps:
@@ -1001,7 +949,7 @@ jobs:
1001949
- job_006
1002950
- job_007
1003951
- job_008
1004-
job_024:
952+
job_023:
1005953
name: "unit_test; PKG: pkg/pub_integration; `dart test -j1 --run-skipped `find test -name \"*_test\\\\.dart\" | sort | sed -n '0~4p'``"
1006954
runs-on: ubuntu-latest
1007955
steps:
@@ -1040,7 +988,7 @@ jobs:
1040988
- job_006
1041989
- job_007
1042990
- job_008
1043-
job_025:
991+
job_024:
1044992
name: "unit_test; PKG: pkg/pub_integration; `dart test -j1 --run-skipped `find test -name \"*_test\\\\.dart\" | sort | sed -n '1~4p'``"
1045993
runs-on: ubuntu-latest
1046994
steps:
@@ -1079,7 +1027,7 @@ jobs:
10791027
- job_006
10801028
- job_007
10811029
- job_008
1082-
job_026:
1030+
job_025:
10831031
name: "unit_test; PKG: pkg/pub_integration; `dart test -j1 --run-skipped `find test -name \"*_test\\\\.dart\" | sort | sed -n '2~4p'``"
10841032
runs-on: ubuntu-latest
10851033
steps:
@@ -1118,7 +1066,7 @@ jobs:
11181066
- job_006
11191067
- job_007
11201068
- job_008
1121-
job_027:
1069+
job_026:
11221070
name: "unit_test; PKG: pkg/pub_integration; `dart test -j1 --run-skipped `find test -name \"*_test\\\\.dart\" | sort | sed -n '3~4p'``"
11231071
runs-on: ubuntu-latest
11241072
steps:
@@ -1157,7 +1105,7 @@ jobs:
11571105
- job_006
11581106
- job_007
11591107
- job_008
1160-
job_028:
1108+
job_027:
11611109
name: "unit_test; PKG: pkg/pub_worker; `dart test --run-skipped --concurrency=1 `find test -name \"*_test\\\\.dart\" | sort | sed -n '0~3p'``"
11621110
runs-on: ubuntu-latest
11631111
steps:
@@ -1196,7 +1144,7 @@ jobs:
11961144
- job_006
11971145
- job_007
11981146
- job_008
1199-
job_029:
1147+
job_028:
12001148
name: "unit_test; PKG: pkg/pub_worker; `dart test --run-skipped --concurrency=1 `find test -name \"*_test\\\\.dart\" | sort | sed -n '1~3p'``"
12011149
runs-on: ubuntu-latest
12021150
steps:
@@ -1235,7 +1183,7 @@ jobs:
12351183
- job_006
12361184
- job_007
12371185
- job_008
1238-
job_030:
1186+
job_029:
12391187
name: "unit_test; PKG: pkg/pub_worker; `dart test --run-skipped --concurrency=1 `find test -name \"*_test\\\\.dart\" | sort | sed -n '2~3p'``"
12401188
runs-on: ubuntu-latest
12411189
steps:

app/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ environment:
44
sdk: ^3.6.0
55
resolution: workspace
66
dependencies:
7-
_popularity:
87
_pub_shared:
98
appengine: ^0.13.8
109
args: '^2.0.0'

pkg/_popularity/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

pkg/_popularity/lib/popularity.dart

Lines changed: 0 additions & 84 deletions
This file was deleted.

pkg/_popularity/lib/popularity.g.dart

Lines changed: 0 additions & 46 deletions
This file was deleted.

pkg/_popularity/mono_pkg.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

pkg/_popularity/pubspec.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

pkg/_popularity/test/ensure_build_test.dart

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)