Skip to content

196#199

Merged
MaxGoryunov merged 16 commits intomasterfrom
196
Aug 22, 2025
Merged

196#199
MaxGoryunov merged 16 commits intomasterfrom
196

Conversation

@MaxGoryunov
Copy link
Copy Markdown
Owner

This PR closes #196 . Now tests can be run with Docker and there is a description of this process in README.

@MaxGoryunov MaxGoryunov self-assigned this Aug 21, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4333bdb) to head (0dd681a).
⚠️ Report is 34 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              master      #199   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        68        68           
===========================================
  Files             18        18           
  Lines            155       191   +36     
===========================================
+ Hits             155       191   +36     
Flag Coverage Δ
tests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/SavingIterator.php 100.00% <ø> (ø)

... and 16 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sonarqubecloud
Copy link
Copy Markdown

@MaxGoryunov
Copy link
Copy Markdown
Owner Author

@rultor merge this please

@rultor
Copy link
Copy Markdown
Collaborator

rultor commented Aug 22, 2025

@rultor merge this please

@MaxGoryunov OK, I'll try to merge now. You can check the progress of the merge here.

@rultor
Copy link
Copy Markdown
Collaborator

rultor commented Aug 22, 2025

@rultor merge this please

@MaxGoryunov Oops, I failed. You can see the full log here (spent 6min).

+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:MaxGoryunov/saving-iterator.git' ; export 'pull_id=199' ; export 'fork=git@github.com:MaxGoryunov/saving-iterator.git' ; export 'fork_branch=196' ; export 'head_branch=master' ; export 'pull_title=196' ; export 'author=maxgoryunov' ; sudo apt-get update ; sudo apt install -y php-xml ; sudo apt-get install -y php-curl ; sudo apt-get install -y php-mbstring ; sudo apt-get install -y php-xdebug ; composer install ; ./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text ; XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4 ; ./vendor/bin/phpstan analyse ;
+ su --login r --command /home/r/script.sh
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2

0% [Working]
            
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]

0% [Connecting to archive.ubuntu.com (185.125.190.81)] [1 InRelease 14.2 kB/129
0% [Connecting to archive.ubuntu.com (185.125.190.81)] [Connecting to ppa.launc
                                                                               
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease

                                                                               
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
                                                                    
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]

0% [3 InRelease 12.7 kB/128 kB 10%] [Waiting for headers] [Waiting for headers]
                                                                               
Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]

0% [3 InRelease 15.6 kB/128 kB 12%] [Waiting for headers] [4 InRelease 10.4 kB/
                                                                               
0% [3 InRelease 15.6 kB/128 kB 12%] [Waiting for headers]
0% [3 InRelease 43.1 kB/128 kB 34%] [Waiting for headers]
                                                         
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3,253 kB]

0% [3 InRelease 47.5 kB/128 kB 37%] [5 Packages 6,999 B/3,253 kB 0%] [Waiting f
                                                                               
Get:6 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease [18.1 kB]

0% [3 InRelease 107 kB/128 kB 83%] [5 Packages 3,253 kB/3,253 kB 100%] [6 InRel
                                                                               
0% [3 InRelease 116 kB/128 kB 90%] [5 Packages 3,253 kB/3,253 kB 100%]
0% [Waiting for headers] [5 Packages 3,253 kB/3,253 kB 100%] [Waiting for heade
0% [Waiting for headers] [5 Packages 3,253 kB/3,253 kB 100%] [Waiting for heade
                                                                               
0% [Waiting for headers] [Waiting for headers]
                                              
Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]

                                              
Get:8 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease [24.6 kB]

0% [7 InRelease 64.9 kB/127 kB 51%] [Waiting for headers]
0% [5 Packages store 0 B] [7 InRelease 67.7 kB/127 kB 53%] [Waiting for headers
                                                                               
Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5,235 kB]

0% [5 Packages store 0 B] [7 InRelease 76.4 kB/127 kB 60%] [9 Packages 0 B/5,23
                                                                               
Get:10 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [11.7 kB]

0% [5 Packages store 0 B] [7 InRelease 76.4 kB/127 kB 60%] [9 Packages 625 kB/5
0% [5 Packages store 0 B] [7 InRelease 76.4 kB/127 kB 60%] [9 Packages 625 kB/5
                                                                               
Get:11 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]

0% [5 Packages store 0 B] [7 InRelease 105 kB/127 kB 83%] [9 Packages 1,074 kB/
0% [5 Packages store 0 B] [7 InRelease 114 kB/127 kB 90%] [9 Packages 1,139 kB/
                                                                               
0% [5 Packages store 0 B] [9 Packages 1,205 kB/5,235 kB 23%]
                                                            
Get:12 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [48.5 kB]

                                                            
0% [5 Packages store 0 B] [12 Packages 42.4 kB/48.5 kB 88%]
                                                           
0% [5 Packages store 0 B]
                         
Get:13 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,271 kB]

0% [5 Packages store 0 B] [13 Packages 0 B/1,271 kB 0%]
                                                       
0% [5 Packages store 0 B]
                         
0% [Working]
0% [10 Packages store 0 B]
                          
0% [Working]
0% [9 Packages store 0 B]
0% [9 Packages store 0 B]
                         
Get:14 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 Packages [33.2 kB]

0% [9 Packages store 0 B] [14 Packages 16.1 kB/33.2 kB 49%]
                                                           
0% [9 Packages store 0 B]
0% [9 Packages store 0 B]
                         
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3,569 kB]

0% [9 Packages store 0 B] [15 Packages 5,551 B/3,569 kB 0%]
                                                           
0% [15 Packages 104 kB/3,569 kB 3%]
0% [12 Packages store 0 B] [15 Packages 110 kB/3,569 kB 3%]
                                                           
0% [15 Packages 127 kB/3,569 kB 4%]
0% [13 Packages store 0 B] [15 Packages 127 kB/3,569 kB 4%]
                                                           
0% [15 Packages 533 kB/3,569 kB 15%]
0% [14 Packages store 0 B] [15 Packages 541 kB/3,569 kB 15%]
                                                            
0% [15 Packages 567 kB/3,569 kB 16%]
0% [15 Packages 724 kB/3,569 kB 20%]
                                    
Get:16 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2,991 B]

0% [15 Packages 1,542 kB/3,569 kB 43%]
0% [16 Packages store 4,607 B] [15 Packages 1,542 kB/3,569 kB 43%]
                                                                  
0% [15 Packages 1,558 kB/3,569 kB 44%]
0% [15 Packages 1,910 kB/3,569 kB 54%]
                                      
0% [Working]
0% [15 Packages store 0 B] [Waiting for headers]
                                                
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [75.9 kB]

0% [15 Packages store 0 B] [17 Packages 49.0 kB/75.9 kB 65%]
                                                            
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5,430 kB]

0% [15 Packages store 0 B] [18 Packages 61.4 kB/5,430 kB 1%]
0% [15 Packages store 0 B] [18 Packages 1,966 kB/5,430 kB 36%]
                                                              
0% [18 Packages 4,655 kB/5,430 kB 86%]
0% [17 Packages store 0 B] [18 Packages 4,655 kB/5,430 kB 86%]
                                                              
0% [18 Packages 4,964 kB/5,430 kB 91%]
                                      
0% [Working]
0% [18 Packages store 0 B]
                          
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,575 kB]

0% [18 Packages store 0 B] [19 Packages 0 B/1,575 kB 0%]
                                                        
0% [18 Packages store 0 B]
                          
Get:20 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.2 kB]

                          
Get:21 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.2 kB]

0% [18 Packages store 0 B] [21 Packages 73.6 kB/83.2 kB 88%]
                                                            
0% [18 Packages store 0 B]
                          
0% [Working]
0% [19 Packages store 0 B]
                          
0% [Working]
0% [20 Packages store 0 B]
                          
0% [Working]
0% [21 Packages store 0 B]
                          
0% [Working]
            

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 3%

Reading package lists... 3%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 42%

Reading package lists... 42%

Reading package lists... 42%

Reading package lists... 42%

Reading package lists... 47%

Reading package lists... 52%

Reading package lis

@MaxGoryunov MaxGoryunov merged commit af7dd49 into master Aug 22, 2025
11 checks passed
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.

README does not describe how to run tests

2 participants