chore: Add ability to deal with temporary files generated by tests

The "install_nextflow" tests generate a new install of Nextflow every time
 they are run based on the "RUNNER_TEMP" environment variable. Deal with
this by adding our RUNNER_TEMP variable to the ava config and making sure
none of these installs get committed.
This commit is contained in:
Thomas A. Christensen II 2024-02-02 21:00:45 -06:00
parent d734edd2bc
commit 5534093b23
2 changed files with 8 additions and 1 deletions

6
.gitignore vendored
View file

@ -131,4 +131,8 @@ dist
# Ignore built ts files
__tests__/runner/*
lib/**/*
lib/**/*
# Testing garbage
.tmp
nxf-v*

View file

@ -28,6 +28,9 @@
"extensions": [
"ts"
],
"environmentVariables": {
"RUNNER_TEMP": "./.tmp"
},
"rewritePaths": {
"src/": "lib/"
},