mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 10:09:54 +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
9dfa0f4329
commit
6780729a18
2 changed files with 8 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -131,4 +131,8 @@ 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