You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
6
+
# See: https://circleci.com/docs/2.0/orb-intro/
7
+
orbs:
8
+
# The python orb contains a set of prepackaged CircleCI configuration you can use repeatedly in your configuration files
9
+
# Orb commands and jobs help you with common scripting around a language/tool
10
+
# so you dont have to copy and paste it everywhere.
11
+
# See the orb documentation here: https://circleci.com/developer/orbs/orb/circleci/python
test37: # This is the name of the job, feel free to change it to better match what you're trying to do!
19
+
# These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/
20
+
# You can specify an image from Dockerhub or use one of the convenience images from CircleCI's Developer Hub
21
+
# A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python
22
+
# The executor is the environment in which the steps below will be executed - below will use a python 3.6.14 container
23
+
# Change the version below to your required version of python
93
24
docker:
94
-
- image: continuumio/miniconda3
25
+
- image: cimg/python:3.7
95
26
working_directory: /tmp/src/phys2denoise
27
+
resource_class: medium
28
+
# Checkout the code as the first step. This is a dedicated CircleCI step.
29
+
# The python orb's install-packages step will install the dependencies from a Pipfile via Pipenv by default.
30
+
# Here we're making sure we use just use the system-wide pip. By default it uses the project root's requirements.txt.
31
+
# Then run your tests!
32
+
# CircleCI will report the results back to your VCS provider.
96
33
steps:
97
34
- checkout
98
-
- restore_cache:
99
-
key: conda-py36-v1-{{ checksum "setup.cfg" }}
35
+
# Install Pillow first to avoid jpsg and zlib issues
36
+
- python/install-packages:
37
+
path-args: .[test]
38
+
pypi-cache: false
39
+
venv-cache: false
40
+
pkg-manager: pip-dist
41
+
# app-dir: ~/project/package-directory/ # If you're requirements.txt isn't in the root directory.
42
+
# 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.
100
43
- run:
101
-
name: Generate environment
44
+
name: Run tests
45
+
# This assumes pytest is installed via the install-package step above
102
46
command: |
103
-
apt-get install -yqq make
104
-
if [ ! -d /opt/conda/envs/phys2denoise_py36 ]; then
0 commit comments