File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+ on : push
3+ jobs :
4+ build :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - uses : actions/checkout@v3
8+ - name : Set up Python
9+ uses : actions/setup-python@v4
10+ with :
11+ python-version : ' 3.7'
12+ - name : Install dependencies
13+ run : |
14+ python -m pip install --upgrade pip setuptools wheel
15+ - name : Build the alpha_id package
16+ run : |
17+ python setup.py sdist bdist_wheel
Original file line number Diff line number Diff line change 1+ name : Tests
2+ on : push
3+ jobs :
4+ test :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ python-version : [3.7, 3.8, 3.9, "3.10"]
9+ steps :
10+ - uses : actions/checkout@v3
11+ - name : Set up Python ${{ matrix.python-version }}
12+ uses : actions/setup-python@v4
13+ with :
14+ python-version : ${{ matrix.python-version }}
15+ - name : Install dependencies
16+ run : |
17+ python -m pip install --upgrade pip setuptools wheel
18+ - name : Perform tests
19+ run : |
20+ python -m unittest tests.test_alpha_id
You can’t perform that action at this time.
0 commit comments