mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-30 08:56:16 +00:00
Create ci.yml
This commit is contained in:
parent
394ddab734
commit
c4592c1b9a
29
.github/workflows/ci.yml
vendored
Normal file
29
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
|
||||||
|
name: Haystack CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest
|
||||||
|
pip install -r requirements.txt
|
||||||
|
pip install -e .
|
||||||
|
- name: Test with pytest
|
||||||
|
run: |
|
||||||
|
cd test && pytest
|
||||||
Loading…
x
Reference in New Issue
Block a user