mirror of
				https://github.com/NixOS/nixos-hardware.git
				synced 2025-11-04 17:27:14 +08:00 
			
		
		
		
	replace travis with github action
This way we get the latest nix.
This commit is contained in:
		
							
								
								
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
name: "Test"
 | 
			
		||||
on:
 | 
			
		||||
  pull_request:
 | 
			
		||||
  push:
 | 
			
		||||
jobs:
 | 
			
		||||
  tests:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@v2
 | 
			
		||||
    - uses: cachix/install-nix-action@v10
 | 
			
		||||
    - name: Show nixpkgs version
 | 
			
		||||
      run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
 | 
			
		||||
    - run: ./tests/run.py
 | 
			
		||||
		Reference in New Issue
	
	Block a user