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 9dfa0f4329
commit 6780729a18
Signed by: millironx
GPG key ID: B7044A3432851F64
2 changed files with 8 additions and 1 deletions

4
.gitignore vendored
View file

@ -132,3 +132,7 @@ dist
# Ignore built ts files
__tests__/runner/*
lib/**/*
# Testing garbage
.tmp
nxf-v*

View file

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