GithubHelp home page GithubHelp logo

littlecheck's People

Contributors

0verk1ll avatar branchvincent avatar faho avatar krobelus avatar mqudsi avatar ridiculousfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

littlecheck's Issues

Allow CHECKs on the same line as commands

E.g. with something like

count (echo -ne 'abcdefghi' | string split0)
# CHECK: 1

it's a tad nicer to have it look like

count (echo -ne 'abcdefghi' | string split0) # CHECK: 1

instead.

Default RUN tools to checking via $PATH

It feels a bit weird to always have to specify "fish=/usr/bin/fish".

It might be nice if you could just run littlecheck.py /path/to/check.fish, and it defaulted to running "fish" via $PATH. This would make it easier if you're not planning on testing fish, which would also allow adding a "fish_test" wrapper around littlecheck for use by external tools.

This is "easy" to do: Just return text unchanged if we don't find a substitution. Since we run a shell, that'll do the checking for us. Detecting if a command doesn't exist is a tad trickier: I can only come up with checking if the shell returned 127.

I'm not sure this needs an option or anything, I'd probably just enable it.

Github Actions fails because macOS doesn't have /usr/bin/python

Since I pushed today the macOS tests fail because they can't find /usr/bin/python, which they need for the "RUN" lines.

The main.yml does brew install python3, but apparently that won't install /usr/bin/python.

Honestly, since this is macOS and I have no idea how and why brew installs things into places, I don't feel qualified to take it on.

I believe we could use RUN: python %s here, but that would require brew to install a python into $PATH.

The alternative is to just remove macOS CI, which I am going to do for the time being because it isn't very important - there are no huge platform differences here.

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.