mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	refactor envs
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/pr_checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/pr_checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -162,8 +162,7 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      INVENTREE_DB_NAME: './test_db.sqlite'
 | 
					      INVENTREE_DB_ENGINE: sqlite3
 | 
				
			||||||
      INVENTREE_DB_ENGINE: django.db.backends.sqlite3
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout Code
 | 
					      - name: Checkout Code
 | 
				
			||||||
@@ -187,7 +186,7 @@ jobs:
 | 
				
			|||||||
          invoke migrate
 | 
					          invoke migrate
 | 
				
			||||||
          invoke import-fixtures
 | 
					          invoke import-fixtures
 | 
				
			||||||
          invoke export-records -f data.json
 | 
					          invoke export-records -f data.json
 | 
				
			||||||
          rm test_db.sqlite
 | 
					          rm ${{ env.INVENTREE_DB_NAME }}.sqlite
 | 
				
			||||||
          invoke migrate
 | 
					          invoke migrate
 | 
				
			||||||
          invoke import-records -f data.json
 | 
					          invoke import-records -f data.json
 | 
				
			||||||
          invoke import-records -f data.json
 | 
					          invoke import-records -f data.json
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user