Skip to content

3.x: Fix source locator code to support GitHub Actions folder layout#7113

Merged
akarnokd merged 1 commit into
ReactiveX:3.xfrom
akarnokd:SourceLocatorGHAFix
Nov 20, 2020
Merged

3.x: Fix source locator code to support GitHub Actions folder layout#7113
akarnokd merged 1 commit into
ReactiveX:3.xfrom
akarnokd:SourceLocatorGHAFix

Conversation

@akarnokd
Copy link
Copy Markdown
Member

@akarnokd akarnokd commented Nov 20, 2020

GitHub Action actions/checkout@v2 downloads the files to a directory that doesn't appear to include the rxjava name anymore and makes the source code tests unable to read the files.

This changes the locator to try for src/main/java in each parent directory relative to where the class files are located via getResource.

This is a preparation in case we have to bail from Travis CI. They now have a pricing model that in theory would be free for open source projects still but who knows in practice as there are hops apparently to get projects recognized as such.

@akarnokd akarnokd added this to the 3.1 milestone Nov 20, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 20, 2020

Codecov Report

Merging #7113 (84ab6b6) into 3.x (78b29f7) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                3.x    #7113      +/-   ##
============================================
- Coverage     99.54%   99.51%   -0.03%     
- Complexity     6670     6671       +1     
============================================
  Files           742      742              
  Lines         47275    47275              
  Branches       6374     6374              
============================================
- Hits          47062    47048      -14     
- Misses           97      108      +11     
- Partials        116      119       +3     
Impacted Files Coverage Δ Complexity Δ
...tivex/rxjava3/internal/jdk8/ParallelCollector.java 89.90% <0.00%> (-8.26%) 2.00% <0.00%> (ø%)
.../operators/completable/CompletableConcatArray.java 93.75% <0.00%> (-6.25%) 2.00% <0.00%> (ø%)
...nternal/operators/parallel/ParallelReduceFull.java 91.08% <0.00%> (-3.97%) 2.00% <0.00%> (ø%)
...xjava3/internal/observers/FutureMultiObserver.java 96.61% <0.00%> (-3.39%) 27.00% <0.00%> (-1.00%)
...eactivex/rxjava3/processors/BehaviorProcessor.java 97.48% <0.00%> (-2.52%) 50.00% <0.00%> (ø%)
...va3/internal/operators/single/SingleTakeUntil.java 98.30% <0.00%> (-1.70%) 2.00% <0.00%> (ø%)
...internal/operators/flowable/FlowableSwitchMap.java 98.58% <0.00%> (-1.42%) 3.00% <0.00%> (ø%)
...rxjava3/internal/schedulers/ExecutorScheduler.java 98.68% <0.00%> (-1.32%) 10.00% <0.00%> (ø%)
...ternal/operators/observable/ObservableGroupBy.java 98.90% <0.00%> (-1.10%) 2.00% <0.00%> (ø%)
...nternal/operators/observable/ObservableCreate.java 99.14% <0.00%> (-0.86%) 2.00% <0.00%> (ø%)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78b29f7...84ab6b6. Read the comment docs.

@akarnokd akarnokd merged commit 5b408f6 into ReactiveX:3.x Nov 20, 2020
@akarnokd akarnokd deleted the SourceLocatorGHAFix branch November 20, 2020 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant