From d0c8ffa054caf28b1025169e8898d743e79369b0 Mon Sep 17 00:00:00 2001 From: Emilio Reyes Date: Sun, 3 Oct 2021 15:11:10 -0700 Subject: [PATCH] Update and clean-up build Signed-off-by: Emilio Reyes --- .github/workflows/main.yml | 5 +---- Dockerfile | 1 - build.py | 1 - requirements-build.txt | 2 +- requirements.txt | 2 -- 5 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d578d2..4d7111c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: - '**' pull_request: branches: - - master + - main jobs: build: @@ -18,9 +18,6 @@ jobs: - name: Install pybuilder run: pip install pybuilder - - name: Install dependencies - run: pyb install_dependencies - - name: Execute build run: pyb diff --git a/Dockerfile b/Dockerfile index 03bba30..ef450e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ FROM python:3.9-slim - ENV PYTHONDONTWRITEBYTECODE 1 WORKDIR /code COPY . /code/ diff --git a/build.py b/build.py index 8fb4fc5..e852234 100644 --- a/build.py +++ b/build.py @@ -8,7 +8,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') diff --git a/requirements-build.txt b/requirements-build.txt index d09f60f..1e15c6e 100644 --- a/requirements-build.txt +++ b/requirements-build.txt @@ -1,2 +1,2 @@ mock -flake8_polyfill +flake8_polyfill \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index e81d305..e69de29 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +0,0 @@ -radon -flake8_polyfill