mirror of
https://github.com/yzhao062/pyod.git
synced 2022-05-07 18:31:39 +03:00
bump up test version
This commit is contained in:
@@ -9,6 +9,8 @@ workflows:
|
||||
jobs:
|
||||
- test-3.6
|
||||
- test-3.7
|
||||
- test-3.8
|
||||
- test-3.9
|
||||
|
||||
jobs:
|
||||
test-3.6:
|
||||
@@ -53,9 +55,6 @@ jobs:
|
||||
pytest
|
||||
no_output_timeout: 30m
|
||||
|
||||
- store_artifacts:
|
||||
path: test-reports
|
||||
destination: test-reports
|
||||
|
||||
test-3.7:
|
||||
docker:
|
||||
@@ -103,3 +102,89 @@ jobs:
|
||||
path: test-reports
|
||||
destination: test-reports
|
||||
|
||||
|
||||
test-3.8:
|
||||
docker:
|
||||
- image: circleci/python:3.8-stretch
|
||||
|
||||
working_directory: ~/repo
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: sudo chown -R circleci:circleci /usr/local/bin
|
||||
|
||||
# Download and cache dependencies
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v2-py38-dependencies-{{ checksum "requirements_ci.txt" }}
|
||||
# fallback to using the latest cache if no exact match is found
|
||||
- v2-py38-dependencies-
|
||||
|
||||
- run:
|
||||
name: install dependencies
|
||||
command: |
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements_ci.txt
|
||||
pip install pytest
|
||||
pip install pytest-cov
|
||||
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
- ./venv
|
||||
key: v2-py38-dependencies-{{ checksum "requirements.txt" }}
|
||||
|
||||
|
||||
# run tests!
|
||||
- run:
|
||||
name: run tests
|
||||
command: |
|
||||
. venv/bin/activate
|
||||
pytest
|
||||
no_output_timeout: 30m
|
||||
|
||||
test-3.9:
|
||||
docker:
|
||||
- image: circleci/python:3.9-stretch
|
||||
|
||||
working_directory: ~/repo
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: sudo chown -R circleci:circleci /usr/local/bin
|
||||
|
||||
# Download and cache dependencies
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v2-py39-dependencies-{{ checksum "requirements_ci.txt" }}
|
||||
# fallback to using the latest cache if no exact match is found
|
||||
- v2-py39-dependencies-
|
||||
|
||||
- run:
|
||||
name: install dependencies
|
||||
command: |
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements_ci.txt
|
||||
pip install pytest
|
||||
pip install pytest-cov
|
||||
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
- ./venv
|
||||
key: v2-py39-dependencies-{{ checksum "requirements.txt" }}
|
||||
|
||||
|
||||
# run tests!
|
||||
- run:
|
||||
name: run tests
|
||||
command: |
|
||||
. venv/bin/activate
|
||||
pytest
|
||||
no_output_timeout: 30m
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ python:
|
||||
# - "3.6-dev" # 3.6 development branch
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
- "3.9"
|
||||
|
||||
install:
|
||||
- pip install --upgrade pip
|
||||
|
||||
@@ -16,6 +16,7 @@ environment:
|
||||
- PYTHON: "C:\\Python36-x64"
|
||||
- PYTHON: "C:\\Python37-x64"
|
||||
- PYTHON: "C:\\Python38-x64"
|
||||
- PYTHON: "C:\\Python39-x64"
|
||||
|
||||
skip_commits:
|
||||
files:
|
||||
|
||||
Reference in New Issue
Block a user