Run tests on multiple Nim versions
This commit is contained in:
		
							parent
							
								
									b8103cf501
								
							
						
					
					
						commit
						60a82563da
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/run-tests.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/run-tests.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -11,6 +11,12 @@ on:
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  test:
 | 
					  test:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    strategy:
 | 
				
			||||||
 | 
					      matrix:
 | 
				
			||||||
 | 
					        nim:
 | 
				
			||||||
 | 
					          - "1.6.10"
 | 
				
			||||||
 | 
					          - "1.6.x"
 | 
				
			||||||
 | 
					          - "2.0.x"
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
| 
						 | 
					@ -28,7 +34,8 @@ jobs:
 | 
				
			||||||
          cache: "pip"
 | 
					          cache: "pip"
 | 
				
			||||||
      - uses: jiro4989/setup-nim-action@v1
 | 
					      - uses: jiro4989/setup-nim-action@v1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          nim-version: "1.x"
 | 
					          nim-version: ${{ matrix.nim }}
 | 
				
			||||||
 | 
					          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
      - run: nimble build -d:release -Y
 | 
					      - run: nimble build -d:release -Y
 | 
				
			||||||
      - run: pip install seleniumbase
 | 
					      - run: pip install seleniumbase
 | 
				
			||||||
      - run: seleniumbase install chromedriver
 | 
					      - run: seleniumbase install chromedriver
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue