FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add full matrix build, install, test workflow on PR · Trisconta/python-titlecase@3ac4248 · GitHub

Repository navigation

Commit 3ac4248

Browse files
committed
Add full matrix build, install, test workflow on PR
1 parent 1c4e906 commit 3ac4248

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: test
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build-with-required-deps:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install
19+
run: python setup.py install
20+
- name: Tests
21+
run: |
22+
pip install nose
23+
nosetests
24+
25+
build-with-optional-deps:
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
matrix:
29+
os: [ubuntu-latest, macos-latest, windows-latest]
30+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
31+
steps:
32+
- uses: actions/checkout@v2
33+
- name: Setup Python
34+
uses: actions/setup-python@v2
35+
with:
36+
python-version: ${{ matrix.python-version }}
37+
- name: Install with optional dependencies
38+
run: |
39+
pip install regex
40+
python setup.py install
41+
- name: Tests
42+
run: |
43+
pip install nose
44+
nosetests

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL