-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add .circleci/config.yml * Change test command * Add postgres * Add linting to config * Fixed linting error * Update version of isort * Remove travis ci config * Add circleci badge to readme
- Loading branch information
Showing
5 changed files
with
35 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 2.1 | ||
orbs: | ||
python: circleci/[email protected] | ||
jobs: | ||
build-and-test: | ||
docker: | ||
- image: cimg/python:3.9 | ||
- image: cimg/postgres:9.6 | ||
steps: | ||
- checkout | ||
- python/install-packages: | ||
pkg-manager: poetry | ||
- run: | ||
name: Run tests | ||
command: poetry run ./manage.py test --failfast | ||
build-and-lint: | ||
docker: | ||
- image: cimg/python:3.9 | ||
steps: | ||
- checkout | ||
- python/install-packages: | ||
pkg-manager: poetry | ||
- run: | ||
name: Run linters | ||
command: poetry run pre-commit run --all-files | ||
|
||
workflows: | ||
sample: | ||
jobs: | ||
- build-and-test | ||
- build-and-lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
# Lookit-api | ||
|
||
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/lookit/lookit-api/tree/develop.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/lookit/lookit-api/tree/develop) | ||
|
||
For full documentation, see <http://lookit.readthedocs.io> (source: <https://github.com/lookit/lookit-docs/>) | ||
|
||
This is the codebase for the Lookit project, an online developmental laboratory. It includes an Experimenter platform for designing and administering research studies, and a participant-facing platform where users can signup and take part in studies. It is built using Django, PostgreSQL, and Ember.js (see Ember portion of codebase, [ ember-lookit-frameplayer](https://github.com/lookit/ember-lookit-frameplayer)), and is developed by [MIT](https://mit.edu) and [Center for Open Science](https://cos.io/). | ||
|
||
`master` Build Status: [![Build Status](https://travis-ci.org/lookit/lookit-api.svg?branch=master)](https://travis-ci.org/lookit/lookit-api) | ||
|
||
`develop` Build Status: [![Build Status](https://travis-ci.org/lookit/lookit-api.svg?branch=develop)](https://travis-ci.org/lookit/lookit-api) | ||
|
||
[![Codetree](https://codetree.com/images/managed-with-codetree.svg)](https://codetree.com/projects/h9M5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters