Skip to content

Commit 81dbfcc

Browse files
committed
CI: Add a minimal GitHub Actions config
1 parent 2353555 commit 81dbfcc

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/tests.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
name: 'Tests'
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
runs-on: ${{ matrix.os }}
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Install
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install pandas matplotlib pytest
27+
python -m pip install -e .[extras]
28+
29+
- name: Test
30+
run: |
31+
pytest -vv
32+
33+
- name: Test (debug version on Linux only)
34+
if: runner.os == 'Linux'
35+
run: |
36+
DSS_EXTENSIONS_DEBUG=1 pytest -vv

0 commit comments

Comments
 (0)