Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Add github actions

davidmezzetti0010f3c7b734
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..7786a29c
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,19 @@
+name: txtai CI
+
+on:
+ push:
+ pull_request:
+
+jobs:
+ build-linux:
+ runs-on: windows-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - run: |
+ python -m pip install -U pip wheel
+ python -m pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
+ pip install -U pip wheel coverage coveralls
+ pip install .
+ python --version
+ - run: make test