Skip to content

Commit 10e2561

Browse files
committed
Add workflow.yml
1 parent cbad01d commit 10e2561

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master # Replace with your main branch name if different
7+
pull_request:
8+
branches:
9+
- master # This runs on pull requests targeting the main branch
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v2
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: '3.12' # You can specify the version of Python to use
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
29+
- name: Run tests
30+
run: |
31+
pytest # Adjust this based on how you run your tests

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
install_requires=[
88
'PyQt6',
99
'beautifulsoup4',
10-
'extract-emails'
10+
'extract-emails',
1111
'requests',
1212
],
1313
entry_points={

0 commit comments

Comments
 (0)