You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			31 lines
		
	
	
		
			627 B
		
	
	
	
		
			YAML
		
	
			
		
		
	
	
			31 lines
		
	
	
		
			627 B
		
	
	
	
		
			YAML
		
	
| name: Tests
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches:
 | |
|       - main
 | |
|   pull_request:
 | |
|     branches:
 | |
|       - main
 | |
|   workflow_dispatch:
 | |
| 
 | |
| jobs:
 | |
|   check-rule-format:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout the repository
 | |
|         uses: actions/checkout@v4
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: |
 | |
|           python -m pip install --upgrade pip
 | |
|           pip install pytest pytest-asyncio pytest-dependency          
 | |
| 
 | |
|       - name: Check rule format with pytest
 | |
|         run: |
 | |
|                     pytest -v -s -m github ./test/check_rule_format.py
 | |
| 
 | |
|       - name: Unit test with pytest
 | |
|         run: |
 | |
|                     pytest -v -s -m github ./test/
 |