github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/secrets/BUILD (about)

     1  # Test on using secrets. Obviously it can't test any real secrets
     2  # but it proves the system works.
     3  gentest(
     4      name = 'secrets_test',
     5      outs = ['secrets_test.sh'],
     6      cmd = 'echo "#!$SECRETS\nexec true" > $OUT',
     7      no_test_output = True,
     8      secrets = ['/bin/sh'],
     9      test_cmd = '$TEST',
    10  )