File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name : Test Nada Algebra
5
+
6
+ on :
7
+ push :
8
+ branches : [ "main" ]
9
+ pull_request :
10
+ branches : [ "*" ]
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ python-version : ["3.10", "3.11", "3.12"]
19
+
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - name : Install Nillion SDK
23
+ run : |
24
+ echo "$HOME/.nilup/bin/" >> $GITHUB_PATH
25
+ curl https://nilup.nilogy.xyz/install.sh | bash
26
+ - name : Setup Nillion SDK
27
+ run : |
28
+ nilup init
29
+ nilup install latest
30
+ nilup use latest
31
+ - name : Set up Python ${{ matrix.python-version }}
32
+ uses : actions/setup-python@v3
33
+ with :
34
+ python-version : ${{ matrix.python-version }}
35
+ - name : Install dependencies
36
+ run : |
37
+ python -m pip install --upgrade pip
38
+ pip install poetry
39
+ poetry install --with dev
40
+ - name : Run tests
41
+ run : poetry run pytest
You can’t perform that action at this time.
0 commit comments