Skip to content

Commit

Permalink
Update and clean-up build
Browse files Browse the repository at this point in the history
Signed-off-by: Emilio Reyes <soda480@gmail.com>
  • Loading branch information
soda480 committed Oct 3, 2021
1 parent 0a0e467 commit 0700903
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- '**'
pull_request:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-20.04
Expand All @@ -17,11 +17,8 @@ jobs:
- name: Install pybuilder
run: pip install pybuilder

- name: Install dependencies
run: pyb install_dependencies

- name: Execute build
run: pyb -X
run: pyb

- name: Install Codecov requirements
run: |
Expand All @@ -33,4 +30,4 @@ jobs:
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
file: coverage.xml
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ ENV TERM xterm-256color
WORKDIR /code
COPY . /code/
RUN pip install pybuilder namegenerator
RUN pyb install_dependencies
RUN pyb install
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ docker container run \
-e https_proxy \
-v $PWD:/code \
mpcurses:latest \
/bin/sh
/bin/bash
```

Execute the build:
Expand Down
7 changes: 4 additions & 3 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

use_plugin('python.core')
use_plugin('python.unittest')
use_plugin('python.install_dependencies')
use_plugin('python.flake8')
use_plugin('python.coverage')
use_plugin('python.distutils')
Expand All @@ -38,8 +37,7 @@
'publish',
'radon',
'bandit',
'anybadge',
'package']
'anybadge']
license = 'Apache License, Version 2.0'
description = summary

Expand Down Expand Up @@ -69,6 +67,9 @@ def set_properties(project):
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mpmq
mpmq

0 comments on commit 0700903

Please sign in to comment.