Skip to content

Commit 38806ed

Browse files
author
marcel corso gonzalez
authored
Merge pull request #79 from messagebird/ci
hello ci
2 parents 9cf5ece + 52c8b05 commit 38806ed

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
# You can use PyPy versions in python-version.
11+
# For example, pypy-2.7 and pypy-3.8
12+
matrix:
13+
python-version: ["3.8", "3.9", "3.10"]
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
# You can test your matrix by printing the current Python version
22+
- name: Display Python version
23+
run: python -c "import sys; print(sys.version)"
24+
- name: install deps
25+
run: python setup.py install
26+
- name: install dev deps
27+
run: pip install pytest
28+
- name: test
29+
run: python -m unittest

0 commit comments

Comments
 (0)