Skip to content

Commit 64d2d69

Browse files
committed
Add ci
1 parent 530d7b4 commit 64d2d69

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Set up Python ${{ matrix.python-version }}
11+
uses: actions/setup-python@v4
12+
with:
13+
python-version: "3.10"
14+
cache: pip
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
19+
- name: Test with pytest
20+
run: |
21+
pytest

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pluggy==1.0.0
1414
protobuf==4.21.12
1515
PySocks==1.7.1
1616
pytest==7.2.2
17-
requests==2.28.1
17+
requests==2.28.2
1818
soupsieve==2.3.2.post1
1919
tomli==2.0.1
2020
urllib3==1.26.13

0 commit comments

Comments
 (0)