Skip to content

Commit 8f1a044

Browse files
authored
Merge pull request #325 from dyashuni/migration_to_actions
Migrate from travis to github actions
2 parents 2235aad + ed7c92a commit 8f1a044

File tree

2 files changed

+22
-63
lines changed

2 files changed

+22
-63
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: HNSW CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ${{matrix.os}}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, windows-latest]
11+
python-version: ['3.6', '3.7', '3.8', '3.9']
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-python@v2
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
18+
- name: Build and install
19+
run: python -m pip install .
20+
21+
- name: Test
22+
run: python -m unittest discover --start-directory python_bindings/tests --pattern "*_test*.py"

.travis.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)