mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	fix: foss_spec github action (#6495)
* fix: foss_spec gh action * chore: upload log artifact in foss_spec gh action * chore: ping foss_spec gh action runner os version to ubuntu-20.04 * fix: set nodeversion to 16
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/workflows/run_foss_spec.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/run_foss_spec.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ on:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  test:
 | 
					  test:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-20.04
 | 
				
			||||||
    services:
 | 
					    services:
 | 
				
			||||||
      postgres:
 | 
					      postgres:
 | 
				
			||||||
        image: postgres:10.8
 | 
					        image: postgres:10.8
 | 
				
			||||||
@@ -49,6 +49,10 @@ jobs:
 | 
				
			|||||||
      with:
 | 
					      with:
 | 
				
			||||||
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
 | 
					        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - uses: actions/setup-node@v3
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        node-version: 16
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: yarn
 | 
					    - name: yarn
 | 
				
			||||||
      run: yarn install
 | 
					      run: yarn install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -70,3 +74,10 @@ jobs:
 | 
				
			|||||||
    - name: Run backend tests
 | 
					    - name: Run backend tests
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        bundle exec rspec --profile=10 --format documentation
 | 
					        bundle exec rspec --profile=10 --format documentation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    - name: Upload rails log folder
 | 
				
			||||||
 | 
					      uses: actions/upload-artifact@v3
 | 
				
			||||||
 | 
					      if: always()
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        name: rails-log-folder
 | 
				
			||||||
 | 
					        path: log
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user