Skip to content

Commit eedd62f

Browse files
committed
2 parents 8216714 + f3e3469 commit eedd62f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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

0 commit comments

Comments
 (0)