Fix guest accounts CI setup attempt 2
This commit is contained in:
		
							parent
							
								
									b930a3d5bf
								
							
						
					
					
						commit
						33bad37128
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								.github/workflows/run-tests.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/run-tests.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -44,12 +44,11 @@ jobs:
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          sudo apt install libsass-dev -y
 | 
					          sudo apt install libsass-dev -y
 | 
				
			||||||
          cp nitter.example.conf nitter.conf
 | 
					          cp nitter.example.conf nitter.conf
 | 
				
			||||||
 | 
					          sed -i 's/enableDebug = false/enableDebug = true/g'
 | 
				
			||||||
          nimble md
 | 
					          nimble md
 | 
				
			||||||
          nimble scss
 | 
					          nimble scss
 | 
				
			||||||
 | 
					          echo "${{ env.GUEST_ACCOUNTS }}" > ./guest_accounts.jsonl
 | 
				
			||||||
      - name: Run tests
 | 
					      - name: Run tests
 | 
				
			||||||
        env:
 | 
					 | 
				
			||||||
          GUEST_ACCOUNTS: ${{ secrets.GUEST_ACCOUNTS }}
 | 
					 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo $GUEST_ACCOUNTS > ./guest_accounts.jsonl
 | 
					 | 
				
			||||||
          ./nitter &
 | 
					          ./nitter &
 | 
				
			||||||
          pytest -n4 tests
 | 
					          pytest -n4 tests
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue