Merge pull request #3344 from NoelDeMartin/MOBILE-4110
MOBILE-4110: Behat improvements
This commit is contained in:
		
						commit
						af49a268ee
					
				
							
								
								
									
										4
									
								
								.github/workflows/acceptance.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/acceptance.yml
									
									
									
									
										vendored
									
									
								
							@ -61,8 +61,8 @@ jobs:
 | 
				
			|||||||
    - name: Init Behat
 | 
					    - name: Init Behat
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
 | 
					        export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
 | 
				
			||||||
        $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose exec -T webserver sh -c "php admin/tool/behat/cli/init.php"
 | 
					         $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose exec -T webserver sh -c "php admin/tool/behat/cli/init.php --parallel=8 --optimize-runs='@app&&$BEHAT_TAGS'"
 | 
				
			||||||
    - name: Run Behat tests
 | 
					    - name: Run Behat tests
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
 | 
					        export MOODLE_DOCKER_WWWROOT=$GITHUB_WORKSPACE/moodle
 | 
				
			||||||
        $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --verbose --tags='@app&&$BEHAT_TAGS' --auto-rerun"
 | 
					        $GITHUB_WORKSPACE/moodle-docker/bin/moodle-docker-compose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --verbose --tags='@app&&$BEHAT_TAGS' --auto-rerun=3"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1
									
								
								.github/workflows/update_behat_plugin.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/update_behat_plugin.yml
									
									
									
									
										vendored
									
									
								
							@ -4,6 +4,7 @@ on: ['push']
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  update:
 | 
					  update:
 | 
				
			||||||
 | 
					    if: github.repository == 'moodlehq/moodleapp' || github.repository == 'moodlemobile/moodleapp'
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v2
 | 
					    - uses: actions/checkout@v2
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user