Code Monkey home page Code Monkey logo

Comments (5)

smarie avatar smarie commented on June 11, 2024

Good catch.
I think that f4d8847 solved it, could you check ?

from python-pytest-steps.

r4lv avatar r4lv commented on June 11, 2024

Sadly no... The call to openssl always creates the (empty) ci_tools/github_travis_rsa file, even if iv undefined. So the if -f test is always true.

Here is my log:
https://travis-ci.com/r4lv/python-pytest-steps/jobs/137921657#L986

Maybe you could use

if [ -z "$encrypted_ddaf3af99ed9_key" ]; then

instead, as I assume you are setting that environment variable on the Travis CI web interface?

from python-pytest-steps.

smarie avatar smarie commented on June 11, 2024

Ok then, I replaced it with

if [ -s "ci_tools/github_travis_rsa" ]

Let me know if that's better.

I use the travis cli tool to generate this environment variable to share my secret (the ssl key) without committing it in the sources. Since the variable name is generated by travis I prefer to have it in a single line (in particular because for every new repo I do the process, travis CLI prints that line and I copy/paste it in travis.yml - so I prefer to avoid stupid mistakes where I forget to paste it in a second place).

from python-pytest-steps.

r4lv avatar r4lv commented on June 11, 2024

Sorry for the late answer. Now the CI works as expected, nice!

from python-pytest-steps.

smarie avatar smarie commented on June 11, 2024

Thanks a lot for the feedback!

from python-pytest-steps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.