Open riordant opened 1 year ago
Describe the bug We are running deployments before the test task using the --deploy-fixture feature. Here is the code:
--deploy-fixture
const tsFiles = glob.sync(path.join(hre.config.paths.tests, "e2e", "**/*.spec.ts")); await hre.run("test", { testFiles: [...tsFiles], deployFixture: true, tags: ['test'] });
For the deploy scripts, I have defined tag like so:
func.tags = ["mainnet"]; export default func;
yet this ignores the test tag and deploys these scripts anyway. Not sure if this is something wrong with my setup or actually a bug.
test
versions
"hardhat-deploy": "^0.11.2", "hardhat": "2.9.2",
14.0.0
Describe the bug We are running deployments before the test task using the
--deploy-fixture
feature. Here is the code:For the deploy scripts, I have defined tag like so:
yet this ignores the
test
tag and deploys these scripts anyway. Not sure if this is something wrong with my setup or actually a bug.versions
14.0.0