diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cc88969..e7f140d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: build +name: build+test on: schedule: - cron: "0 8 * * 2,4,6" @@ -12,7 +12,7 @@ jobs: build-images: strategy: matrix: - version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + version: ['3.8', '3.9', '3.10', '3.11'] name: Build Python Docker images runs-on: ubuntu-20.04 steps: diff --git a/Dockerfile b/Dockerfile index 6be9073..ed23a5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,6 @@ ENV PYTHONDONTWRITEBYTECODE 1 ENV TERM xterm-256color WORKDIR /code COPY . /code/ -RUN pip install --upgrade pip && pip install pybuilder namegenerator +RUN pip install --upgrade pip && \ + pip install pybuilder namegenerator RUN pyb -X \ No newline at end of file diff --git a/README.md b/README.md index b35f1f6..f1fff26 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # mpcurses -[![build](https://github.com/soda480/mpcurses/actions/workflows/main.yml/badge.svg)](https://github.com/soda480/mpcurses/actions/workflows/main.yml) +[![build+test](https://github.com/soda480/mpcurses/actions/workflows/main.yml/badge.svg)](https://github.com/soda480/mpcurses/actions/workflows/main.yml) [![Code Coverage](https://codecov.io/gh/soda480/mpcurses/branch/master/graph/badge.svg)](https://codecov.io/gh/soda480/mpcurses) [![vulnerabilities](https://img.shields.io/badge/vulnerabilities-None-brightgreen)](https://pypi.org/project/bandit/) [![PyPI version](https://badge.fury.io/py/mpcurses.svg)](https://badge.fury.io/py/mpcurses) -[![python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-teal)](https://www.python.org/downloads/) +[![python](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-teal)](https://www.python.org/downloads/) Mpcurses is an abstraction of the Python curses and multiprocessing libraries providing function execution and runtime visualization capabilities at scale. It contains a simple API to enable any Python function to be executed across one or more background processes and includes built-in directives to visualize the functions execution on a terminal screen. @@ -131,8 +131,7 @@ Clone the repository and ensure the latest version of Docker is installed on you Build the Docker image: ```sh docker image build \ --t \ -mpcurses:latest . +-t mpcurses:latest . ``` Run the Docker container: diff --git a/build.py b/build.py index 12cf7dd..c41aae1 100644 --- a/build.py +++ b/build.py @@ -30,7 +30,7 @@ authors = [Author('Emilio Reyes', 'emilio.reyes@intel.com')] summary = 'Mpcurses is an abstraction of the Python curses and multiprocessing libraries providing function execution and runtime visualization capabilities' url = 'https://github.com/soda480/mpcurses' -version = '0.4.2' +version = '0.4.3' default_task = [ 'clean', 'analyze', @@ -67,10 +67,10 @@ def set_properties(project): 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Networking', diff --git a/build.sh b/build.sh index 4e338eb..e293c63 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -versions=( '3.7' '3.8' '3.9' '3.10' ) +versions=( '3.8' '3.9' '3.10' '3.11' ) for version in "${versions[@]}"; do docker image build --build-arg PYTHON_VERSION=$version -t mpcurses:$version .