mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	Switch to mineunit-actions (#708)
This commit is contained in:
		
							
								
								
									
										35
									
								
								.github/workflows/check.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										35
									
								
								.github/workflows/check.yml
									
									
									
									
										vendored
									
									
								
							@@ -19,22 +19,27 @@ jobs:
 | 
			
		||||
    name: "Mineunit tests"
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@main
 | 
			
		||||
    - name: apt
 | 
			
		||||
      run: sudo apt-get install -y luarocks lua-bitop
 | 
			
		||||
    - name: install lua deps
 | 
			
		||||
      run: for x in busted luacov; do luarocks install --local $x; done
 | 
			
		||||
    - name: install mineunit
 | 
			
		||||
      # FIXME: this seems to be abandoned?
 | 
			
		||||
      run: luarocks install --server=https://luarocks.org/dev --local mineunit
 | 
			
		||||
    - name: run mesecons tests
 | 
			
		||||
      working-directory: ./mesecons/
 | 
			
		||||
      run: $HOME/.luarocks/bin/mineunit -q
 | 
			
		||||
      uses: mt-mods/mineunit-actions@master
 | 
			
		||||
      with:
 | 
			
		||||
        coverage: false
 | 
			
		||||
        mineunit-args: -q
 | 
			
		||||
        working-directory: ./mesecons
 | 
			
		||||
    - name: run mesecons_mvps tests
 | 
			
		||||
      working-directory: ./mesecons_mvps/
 | 
			
		||||
      run: $HOME/.luarocks/bin/mineunit -q
 | 
			
		||||
      uses: mt-mods/mineunit-actions@master
 | 
			
		||||
      with:
 | 
			
		||||
        coverage: false
 | 
			
		||||
        mineunit-args: -q
 | 
			
		||||
        working-directory: ./mesecons_mvps
 | 
			
		||||
    - name: run mesecons_fpga tests
 | 
			
		||||
      working-directory: ./mesecons_fpga/
 | 
			
		||||
      run: $HOME/.luarocks/bin/mineunit -q
 | 
			
		||||
      uses: mt-mods/mineunit-actions@master
 | 
			
		||||
      with:
 | 
			
		||||
        coverage: false
 | 
			
		||||
        mineunit-args: -q
 | 
			
		||||
        working-directory: ./mesecons_fpga
 | 
			
		||||
    - name: run mesecons_luacontroller tests
 | 
			
		||||
      working-directory: ./mesecons_luacontroller/
 | 
			
		||||
      run: $HOME/.luarocks/bin/mineunit -q
 | 
			
		||||
      uses: mt-mods/mineunit-actions@master
 | 
			
		||||
      with:
 | 
			
		||||
        coverage: false
 | 
			
		||||
        mineunit-args: -q
 | 
			
		||||
        working-directory: ./mesecons_luacontroller
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user