From 86d4281fc335524367eaa93aac8cacfca30aad6b Mon Sep 17 00:00:00 2001 From: MarvinKweyu Date: Sat, 17 Aug 2024 21:06:55 +0300 Subject: [PATCH] fix: move tests to git workflows --- .circleci/config.yml | 20 -------------------- .github/workflows/package-tests.yml | 5 +---- README.md | 4 ++-- 3 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 70caa9e..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: 2 -jobs: - build: - machine: - image: ubuntu-2004:2024.04.4 - steps: - - checkout - - run: - name: Install python dependencies - command: | - sudo -S apt-get install build-essential cmake -y - pip3 install virtualenv - virtualenv -p python3 .venv - source .venv/bin/activate - pip install -r requirements/requirements-dev.txt - - run: - name: Running tests - command: | - source .venv/bin/activate - pytest diff --git a/.github/workflows/package-tests.yml b/.github/workflows/package-tests.yml index f1f1e86..e5b99c8 100644 --- a/.github/workflows/package-tests.yml +++ b/.github/workflows/package-tests.yml @@ -1,7 +1,4 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -name: Python package +name: Package tests on: push: diff --git a/README.md b/README.md index 9046498..b0b362a 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ ![Lint workflow](https://github.com/MarvinKweyu/ColorDetect/actions/workflows/lint.yml/badge.svg?branch=master) [![PyPI version](https://badge.fury.io/py/ColorDetect.svg)](https://pypi.org/project/ColorDetect/) -[![Python](https://img.shields.io/badge/python-3.6%7C3.7%7C3.8%7C3.9-green)](https://pypi.org/project/ColorDetect/) -[![CircleCI](https://circleci.com/gh/MarvinKweyu/ColorDetect.svg?style=svg)](https://circleci.com/gh/MarvinKweyu/ColorDetect) +[![Python](https://img.shields.io/badge/python->=3.6-green)](https://pypi.org/project/ColorDetect/) +![Package tests](https://github.com/MarvinKweyu/ColorDetect/actions/workflows/package-tests.yml/badge.svg?branch=master) [![Downloads](https://pepy.tech/badge/colordetect)](https://pypi.org/project/ColorDetect/) [![Documentation Status](https://readthedocs.org/projects/colordetect/badge/?version=master)](https://colordetect.readthedocs.io/en/master/)