Skip to content

Commit f5b43a0

Browse files
committed
test: update lint.yml
1 parent bb65737 commit f5b43a0

File tree

3 files changed

+63
-83
lines changed

3 files changed

+63
-83
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
npm config set prefix "${HOME}/.npm-packages"
1414
export PATH="$PATH:$NPM_PACKAGES/bin"
1515
npm install -g @commitlint/cli @commitlint/config-conventional
16-
'echo "module.exports = {extends: [\"@commitlint/config-conventional\"]}" > commitlint.config.js'
16+
echo "module.exports = {extends: [\"@commitlint/config-conventional\"]}" > commitlint.config.js
1717
npx commitlint --from=origin/master
1818
- name: Run black
1919
run: |
2020
pip3 install --pre black==19.10b0
21-
black --check .
21+
python3 -m black --check .

.github/workflows/main.yml

Lines changed: 61 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,71 @@
11
name: CI
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
8-
strategy:
9-
matrix:
10-
environment: ["py36", "py37", "docs", "py_func_v4", "cli_func_v4"]
3+
on: [push]
114

125
jobs:
13-
build:
6+
test-3-6:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-python@v1
11+
with:
12+
python-version: "3.6"
13+
- name: Test py36
14+
run: |
15+
pip3 install tox
16+
python3 -m tox -e py36
17+
test-3-7:
1418
runs-on: ubuntu-latest
1519
steps:
1620
- uses: actions/checkout@v1
17-
- name: Test CLI func
21+
- uses: actions/setup-python@v1
22+
with:
23+
python-version: "3.7"
24+
- name: Test py37
1825
run: |
1926
pip3 install tox
20-
tox -e ${ENVIRONMENT}
27+
python3 -m tox -e py37
28+
test-3-8:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v1
32+
- uses: actions/setup-python@v1
2133
with:
22-
environment: ${{ matrix.environment }}
34+
python-version: "3.8"
35+
- name: Test py38
36+
run: |
37+
pip3 install tox
38+
python3 -m tox -e py38
39+
test-docs:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v1
43+
- uses: actions/setup-python@v1
44+
with:
45+
python-version: "3.8"
46+
- name: Test py38
47+
run: |
48+
pip3 install tox
49+
python3 -m tox -e docs
50+
test-py_func_v4:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@v1
54+
- uses: actions/setup-python@v1
55+
with:
56+
python-version: "3.8"
57+
- name: Test py38
58+
run: |
59+
pip3 install tox
60+
python3 -m tox -e py_func_v4
61+
test-cli_func_v4:
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@v1
65+
- uses: actions/setup-python@v1
66+
with:
67+
python-version: "3.8"
68+
- name: Test py38
69+
run: |
70+
pip3 install tox
71+
python3 -m tox -e cli_func_v4

.travis.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy