Skip to content

Commit 0753b84

Browse files
committed
rework workflows
1 parent d727b88 commit 0753b84

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/main.yaml renamed to .github/workflows/style.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Python package
1+
name: Style checks
22

33
on:
44
push:
@@ -11,7 +11,7 @@ jobs:
1111
max-parallel: 4
1212
matrix:
1313
python-version: [3.8]
14-
environment: [style, black, py38, py38-tls]
14+
environment: [style, black]
1515

1616
steps:
1717
- uses: actions/checkout@v1

.github/workflows/tests.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Functional tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
max-parallel: 4
12+
matrix:
13+
python-version: [3.8]
14+
environment: [py38, py38-tls]
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install tox
26+
- name: Test with tox
27+
run: tox -e ${{ matrix.environment }}

0 commit comments

Comments
 (0)