Update config.yml
This commit is contained in:
parent
0960a6f6fe
commit
6b26441039
@ -1,26 +1,23 @@
|
|||||||
# Use the latest 2.1 version of CircleCI pipeline process engine.
|
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
# Define a job to be invoked later in a workflow.
|
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
|
|
||||||
jobs:
|
jobs:
|
||||||
say-hello:
|
run-tests:
|
||||||
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
|
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
|
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/base:stable
|
- image: cimg/python
|
||||||
# Add steps to the job
|
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: "Say hello"
|
name: "Install test deps"
|
||||||
command: "echo Hello, World!"
|
command: "pip install .[test]"
|
||||||
|
- run:
|
||||||
# Invoke jobs via workflows
|
name: "Install codecov"
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
|
command: "pip install codecov"
|
||||||
|
- run:
|
||||||
|
name: "Run tests"
|
||||||
|
command: "python setup.py pytest"
|
||||||
|
- run:
|
||||||
|
name: "Notify codecov"
|
||||||
|
command: "codecov"
|
||||||
workflows:
|
workflows:
|
||||||
say-hello-workflow:
|
run-tests-workflow:
|
||||||
jobs:
|
jobs:
|
||||||
- say-hello
|
- run-tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user