Skip to content

Commit 4475c69

Browse files
committed
Move update-pycodestyle to GH Actions
Signed-off-by: Nabarun Pal <[email protected]>
1 parent aba5f74 commit 4475c69

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

.github/workflows/meta.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: codechecks
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
pycodestyle:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.9]
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
submodules: true
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/[email protected]
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
23+
- name: Run update-pycodestyle
24+
run: ./scripts/update-pycodestyle.sh

.travis.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
script: >
2323
[ "v$(python -c 'from scripts.constants import CLIENT_VERSION; print(CLIENT_VERSION)')" == "${TRAVIS_TAG}" ] &&
2424
[[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(([ab]|dev|rc)[0-9]+)?$ ]]
25-
26-
- stage: test
27-
python: 3.9
28-
env: TOXENV=update-pycodestyle
2925
- python: 3.9
3026
env: TOXENV=coverage,codecov
3127
- python: 3.7
@@ -52,11 +48,6 @@ jobs:
5248
tags: true
5349
repo: kubernetes-client/python
5450
distributions: sdist bdist_wheel
55-
56-
- stage: test
57-
python: 3.9
58-
env: TOXENV=update-pycodestyle
59-
arch: ppc64le
6051
- python: 3.7
6152
env: TOXENV=docs
6253
arch: ppc64le

0 commit comments

Comments
 (0)