Skip to content

Commit 6882f2a

Browse files
remove python tests
Signed-off-by: Ricky Moorhouse <[email protected]>
1 parent 6a4c9fd commit 6882f2a

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/test-and-publish.yml

-25
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,6 @@ env:
1919
IMAGE_NAME: ghcr.io/ibm/apiconnect-trawler/trawler
2020

2121
jobs:
22-
test:
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- uses: actions/checkout@v2
27-
- name: Set up Python 3.10
28-
uses: actions/setup-python@v2
29-
with:
30-
python-version: "3.10"
31-
- name: Install dependencies
32-
run: |
33-
python -m pip install --upgrade pip
34-
pip install flake8 pytest
35-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36-
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
37-
- name: Lint with flake8
38-
run: |
39-
# stop the build if there are Python syntax errors or undefined names
40-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
41-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
42-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
43-
- name: Test with pytest
44-
run: |
45-
SECRETS=test-assets coverage run --source . -m py.test -Werror -p no:unraisableexception
46-
coverage report
4722

4823
# Push image to GitHub Packages.
4924
# See also https://docs.docker.com/docker-hub/builds/

0 commit comments

Comments
 (0)