Skip to content

Commit

Permalink
linkedin-messaging: vendor and deprecate other repo
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <sumner@beeper.com>
  • Loading branch information
sumnerevans committed Dec 12, 2023
1 parent 89a3334 commit 00725bb
Show file tree
Hide file tree
Showing 9 changed files with 1,202 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ jobs:
pre-commit run -av check-yaml
pre-commit run -av check-added-large-files
test:
name: Run the tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install dependencies
run: |
pip install -r dev-requirements.txt
- name: Run pytest
run: |
pytest -vv
pytest -vv > pytest-coverage.txt
- name: Comment coverage
uses: coroo/pytest-coverage-commentator@v1.0.2
if: ${{ github.event_name == 'pull_request' && github.event.action == 'created' }}

build-docker:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ flake8-print>=5.0.0,<6
flake8>=6.0.0,<7
isort>=5.10.1,<6
pre-commit>=2.10.1,<4
pytest>=7.4.3,<7.5
termcolor>=2.1.1,<3
6 changes: 6 additions & 0 deletions linkedin_messaging/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""An unofficial API for interacting with LinkedIn Messaging"""

from .api_objects import URN
from .linkedin import ChallengeException, LinkedInMessaging

__all__ = ("ChallengeException", "LinkedInMessaging", "URN")
Loading

0 comments on commit 00725bb

Please sign in to comment.