better pipeline
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
			
				
	
				Test code / Test code (push) Failing after 16s
				
			
		
			
				
	
				Build and release APK / Build APK (pull_request) Successful in 1m0s
				
			
		
			
				
	
				Build web / Build Web (pull_request) Successful in 40s
				
			
		
			
				
	
				Test code / Test code (pull_request) Failing after 14s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			Test code / Test code (push) Failing after 16s
				
			Build and release APK / Build APK (pull_request) Successful in 1m0s
				
			Build web / Build Web (pull_request) Successful in 40s
				
			Test code / Test code (pull_request) Failing after 14s
				
			This commit is contained in:
		| @@ -1,5 +1,10 @@ | ||||
| on: push | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - main | ||||
|  | ||||
| name: Build and release APK | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     name: Build APK | ||||
| @@ -9,7 +14,7 @@ jobs: | ||||
|     - name: Install prerequisites | ||||
|       run: | | ||||
|         sudo apt-get update | ||||
|       # sudo apt-get install -y xz-utils unzip | ||||
|         sudo apt-get install -y xz-utils unzip | ||||
|  | ||||
|     - uses: https://gitea.com/actions/checkout@v4 | ||||
|  | ||||
| @@ -24,8 +29,8 @@ jobs: | ||||
|         flutter-version: 3.19.6 | ||||
|         cache: true | ||||
|  | ||||
|     # - name: Setup Android SDK | ||||
|     #   uses: https://github.com/android-actions/setup-android@v3 | ||||
|     - name: Setup Android SDK | ||||
|       uses: https://github.com/android-actions/setup-android@v3 | ||||
|  | ||||
|     - run: flutter pub get | ||||
|  | ||||
|   | ||||
| @@ -1,21 +1,30 @@ | ||||
| on: push | ||||
| name: Test, Build and Release web | ||||
| on: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - main | ||||
|  | ||||
| name: Build web | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     name: Build Web | ||||
|     runs-on: k8s | ||||
|     steps: | ||||
|  | ||||
|     - name: Install prerequisites | ||||
|       run: | | ||||
|         sudo apt-get update | ||||
|         sudo apt-get install -y xz-utils | ||||
|  | ||||
|     - uses: actions/checkout@v4 | ||||
|  | ||||
|     - uses: https://github.com/subosito/flutter-action@v2 | ||||
|       with: | ||||
|         channel: stable | ||||
|         flutter-version: 3.19.6 | ||||
|         cache: true | ||||
|     - run: flutter pub get | ||||
|     # - run: flutter test | ||||
|  | ||||
|     - run: flutter pub get | ||||
|  | ||||
|     - run: flutter build web | ||||
|  | ||||
|   | ||||
							
								
								
									
										31
									
								
								.gitea/workflows/test.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								.gitea/workflows/test.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| on: | ||||
|   push: | ||||
|   pull_request: | ||||
|     branches: | ||||
|       - main | ||||
|  | ||||
|  | ||||
| name: Test code | ||||
|  | ||||
| jobs: | ||||
|   test: | ||||
|     name: Test code | ||||
|     runs-on: k8s | ||||
|     steps: | ||||
|  | ||||
|     - name: Install prerequisites | ||||
|       run: | | ||||
|         sudo apt-get update | ||||
|         sudo apt-get install -y xz-utils | ||||
|  | ||||
|     - uses: actions/checkout@v4 | ||||
|  | ||||
|     - uses: https://github.com/subosito/flutter-action@v2 | ||||
|       with: | ||||
|         channel: stable | ||||
|         flutter-version: 3.19.6 | ||||
|         cache: true | ||||
|  | ||||
|     - run: flutter pub get | ||||
|  | ||||
|     - run: flutter test | ||||
		Reference in New Issue
	
	Block a user