Skip to content

Commit 2956dbc

Browse files
Enable CI testing on ubuntu-latest and macOS-latest (#119)
* [add] Included testing for ubuntu/macos on python version 3.6 to 3.9
1 parent 55bd98a commit 2956dbc

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/poetry-ci-test-lint.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@ on:
77

88
jobs:
99
pytest:
10-
name: Linting, testing, and compliance
11-
runs-on: ubuntu-latest
12-
services:
13-
rts-service:
14-
image: redislabs/redistimeseries:latest
15-
ports:
16-
- 6379:6379
10+
strategy:
11+
matrix:
12+
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
13+
os: [ ubuntu-latest, macos-latest ]
1714
env:
1815
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
16+
runs-on: ${{ matrix.os }}
17+
name: os ${{ matrix.os }} python ${{ matrix.python-version }} Linting, testing, and compliance
1918
steps:
2019
- uses: actions/checkout@master
21-
- name: Set up Python 3.7
20+
- name: Set up Python ${{ matrix.python-version }}
2221
uses: actions/setup-python@v1
2322
with:
24-
python-version: 3.7
23+
python-version: ${{ matrix.python-version }}
2524

2625
- name: Install Poetry
2726
uses: dschep/[email protected]

0 commit comments

Comments
 (0)