Run test-erasure in a container
This commit is contained in:
		@@ -20,7 +20,7 @@ steps:
 | 
				
			|||||||
  - command: "ci/shellcheck.sh"
 | 
					  - command: "ci/shellcheck.sh"
 | 
				
			||||||
    name: "shellcheck [public]"
 | 
					    name: "shellcheck [public]"
 | 
				
			||||||
    timeout_in_minutes: 20
 | 
					    timeout_in_minutes: 20
 | 
				
			||||||
  - command: "ci/test-erasure.sh"
 | 
					  - command: "ci/docker-run.sh rust ci/test-erasure.sh"
 | 
				
			||||||
    name: "erasure"
 | 
					    name: "erasure"
 | 
				
			||||||
    timeout_in_minutes: 20
 | 
					    timeout_in_minutes: 20
 | 
				
			||||||
  - wait
 | 
					  - wait
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,8 +8,6 @@ cd "$(dirname "$0")/.."
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
 | 
					export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# shellcheck disable=SC1090    # <-- shellcheck can't follow ~
 | 
					 | 
				
			||||||
source ~/.cargo/env
 | 
					 | 
				
			||||||
cargo test --features="erasure"
 | 
					cargo test --features="erasure"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exit 0
 | 
					exit 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user