[add] ci-basex
This commit is contained in:
		
							parent
							
								
									e2fdc1c13c
								
							
						
					
					
						commit
						ae0dad178b
					
				
					 5 changed files with 31 additions and 1 deletions
				
			
		
							
								
								
									
										30
									
								
								.github/workflows/ci-basex.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/ci-basex.yaml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,30 @@
 | 
			
		|||
name: Run BaseX Tests
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  workflow_dispatch: # Enables manual trigger
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
 | 
			
		||||
  
 | 
			
		||||
jobs:
 | 
			
		||||
  test:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout repository
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
 | 
			
		||||
    - name: Set up Java
 | 
			
		||||
      uses: actions/setup-java@v2
 | 
			
		||||
      with:
 | 
			
		||||
        java-version: '11'
 | 
			
		||||
        distribution: 'temurin'
 | 
			
		||||
 | 
			
		||||
    - name: Install BaseX
 | 
			
		||||
      run: |
 | 
			
		||||
        wget http://files.basex.org/releases/10.7/BaseX107.zip
 | 
			
		||||
        unzip BaseX107.zip 
 | 
			
		||||
 | 
			
		||||
    - name: Run BaseX Tests
 | 
			
		||||
      run:  'basex/bin/basex -t .'
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/fontbox-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/fontbox-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/pdfbox-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/pdfbox-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/pdfbox-io-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								lib/pdfbox-3.0.3/pdfbox-io-3.0.3.jar
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
    "doc": "docs"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "test": "%BASEX10%/bin/basex -t ."
 | 
			
		||||
    "test": "%BASEX10%/bin/basex -t src/test"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "pdf",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue