Skip to content

Commit

Permalink
ci: add installation test on other python version
Browse files Browse the repository at this point in the history
Signed-off-by: Trecia Agoylo <[email protected]>
  • Loading branch information
tagoylo authored and kimpaller committed Mar 19, 2024
1 parent 0524e4a commit 4b086ca
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Nebula build test

on: [push, pull_request]

jobs:
Build-Test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
pip install setuptools wheel twine
- name: Install nebula
run: |
pip install .
python -c "import nebula"
- name: Test
run: /
cd tests
pytest test_cli.py::test_cli_help -s -v

0 comments on commit 4b086ca

Please sign in to comment.