Skip to content

Commit 1b84c16

Browse files
Refs #265. Initial attempt at using GH actions for tests
1 parent 98c6aa6 commit 1b84c16

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
python-version: [2.7, 3.6, 3.7]
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: pip install --requirement requirements/testing.txt
22+
- name: Run tests
23+
run: nosetests --with-doctest []

0 commit comments

Comments
 (0)