mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 18:09:55 +00:00
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:
parent
d3023422c1
commit
3b23b7abfe
2 changed files with 8 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -132,3 +132,7 @@ dist
|
||||||
# Ignore built ts files
|
# Ignore built ts files
|
||||||
__tests__/runner/*
|
__tests__/runner/*
|
||||||
lib/**/*
|
lib/**/*
|
||||||
|
|
||||||
|
# Testing garbage
|
||||||
|
.tmp
|
||||||
|
nxf-v*
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ts"
|
"ts"
|
||||||
],
|
],
|
||||||
|
"environmentVariables": {
|
||||||
|
"RUNNER_TEMP": "./.tmp"
|
||||||
|
},
|
||||||
"rewritePaths": {
|
"rewritePaths": {
|
||||||
"src/": "lib/"
|
"src/": "lib/"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue