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 d3023422c1
commit 3b23b7abfe
Signed by: millironx
GPG key ID: B7044A3432851F64
2 changed files with 8 additions and 1 deletions

6
.gitignore vendored
View file

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

View file

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