Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Circle CI #163

Merged
merged 33 commits into from
Jan 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
72e6174
Add .circleci/config.yml
sampan501 Jan 18, 2021
cdb8b7d
remove travis config and lower parallel
sampan501 Jan 18, 2021
c82e398
use new circleci config file
sampan501 Jan 18, 2021
a46d25f
fix setup.py init
sampan501 Jan 18, 2021
72be0ff
add codecov package
sampan501 Jan 18, 2021
4d0e0fb
fix circle ci build issues
sampan501 Jan 18, 2021
fc64544
remove build from yaml
sampan501 Jan 18, 2021
af44bf1
remove build
sampan501 Jan 18, 2021
de7ae06
fix ci build errors
sampan501 Jan 18, 2021
3f175d3
rerun circle ci
sampan501 Jan 18, 2021
5aa1765
set docker image for deployment
sampan501 Jan 18, 2021
df6c7eb
parralelize circleci config
sampan501 Jan 18, 2021
758bb9b
Update config.yml
sampan501 Jan 18, 2021
2c13f43
fix cache issues
sampan501 Jan 18, 2021
bd5c0b0
don't cache test suite
sampan501 Jan 18, 2021
710c6ee
see if cimg to circleci fixes build
sampan501 Jan 19, 2021
01a6067
back to cimg
sampan501 Jan 19, 2021
4c49e67
fix cache issues
sampan501 Jan 19, 2021
4f122a5
remove test dependence on build
sampan501 Jan 19, 2021
ec8a0f1
change cache among python versions
sampan501 Jan 19, 2021
d1196e9
maintain order for build
sampan501 Jan 19, 2021
bfe2a70
change cache
sampan501 Jan 19, 2021
fdf4ea0
run on lowest environment packages
sampan501 Jan 19, 2021
77411c9
use min python versions
sampan501 Jan 19, 2021
6ce67c7
don't test 3.8
sampan501 Jan 19, 2021
74277bb
add joblib as a dependency
sampan501 Jan 19, 2021
6b379fd
add joblib
sampan501 Jan 19, 2021
6675672
set llvm version
sampan501 Jan 19, 2021
7a40877
update llvm before numba
sampan501 Jan 19, 2021
9702dcb
workers default should be 1
sampan501 Jan 19, 2021
ae0297f
fix python 3.7 failings
sampan501 Jan 19, 2021
3b8dce3
raise base sklearn package
sampan501 Jan 19, 2021
fbc0c33
remove smoke test
sampan501 Jan 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add .circleci/config.yml
  • Loading branch information
sampan501 committed Jan 18, 2021
commit 72e61743c119004894bb39b8e818ba52405dd1ac
54 changes: 54 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: 2.1

orbs:
# The python orb contains a set of prepackaged circleci configuration you can use repeatedly in your configurations files
# Orb commands and jobs help you with common scripting around a language/tool
# so you dont have to copy and paste it everywhere.
# See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/python
python: circleci/[email protected]
codecov: codecov/[email protected]

workflows:
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
# For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows
jobs:
- build-and-test


jobs:
build-and-test: # This is the name of the job, feel free to change it to better match what you're trying to do!
# These next lines defines a docker executors: https://circleci.com/docs/2.0/executor-types/
# You can specify an image from dockerhub or use one of the convenience images from CircleCI's Developer Hub
# A list of available CircleCI docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python
# The executor is the environment in which the steps below will be executed - below will use a python 3.9 container
# Change the version below to your required version of python
docker:
- image: cimg/python:3.6
- image: cimg/python:3.7
- image: cimg/python:3.8
parallelism: 16

# Checkout the code as the first step. This is a dedicated CircleCI step.
# The python orb's install-packages step will install the dependencies from a Pipfile via Pipenv by default.
# Here we're making sure we use just use the system-wide pip. By default it uses the project root's requirements.txt.
# Then run your tests!
# CircleCI will report the results back to your VCS provider.
steps:
- checkout
- python/install-packages:
pkg-manager: pip
- python/install-packages:
pkg-manager: pip
args: pytest, pytest-cov, black
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
# pip-dependency-file: test-requirements.txt # if you have a different name for your requirements file, maybe one that combines your runtime and test requirements.
- run:
name: Run tests
# This assumes pytest is installed via the install-package step above
command: pytest hyppo/
- run:
name: Check black formatting
command: black --check --diff ./hyppo
- codecov/upload