Coder Social home page Coder Social logo

ensure-regression-tests's Introduction

EveryPolitician

Data about every national legislature in the world, freely available for you to use

Repo summary

These are some of the key repos in the EveryPolitician family. There are others.

The repos for many of our scrapers are kept separately in github.com/everypolitician-scrapers.

Technical blog

The EveryPolitician bot's own page is a good jumping-off point to lots of semi-technical explanations of what's going on (it has its own blog on Medium). For example:

The bot is on twitter as @everypolitician

Contributing

If you have data for us, or know where to get it, please read our page about how to contribute.

Team

EveryPolitician is a mySociety project.

ensure-regression-tests's People

Contributors

chrismytton avatar tmtmtmtm avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ensure-regression-tests's Issues

Handle pull requests that don't target master

Problem

Pull requests that don't target the master branch currently fail because the Travis build doesn't have a copy of any non-master branch refs due to the way it clones the repo.

Proposed solution

Add a git fetch step before trying to checkout the target branch so we have the required refs.

Explain adding rake task dependencies

Problem

When using scraper_test it creates a test:data rake task. In order to run this rake task as part of ensure-regression-tests it needs to be added as a dependency of the test rake task. This isn't currently documented anywhere.

Proposed solution

Add a section to the README that explains how to add a dependency to the test rake task so that you can run other tests as part of this script.

For example adding test:data as a dependency of the test task would look like this:

task test: 'test:data'

Expand README.md

It would be good if the README included at least the following:

  • Explanation of what this script does
  • How to use the latest version (by having master in the URL)
  • How to use a specific version (e.g. with SHA or tag in the URL)

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.