Skip to content

Commit

Permalink
Merge c785322 into bb074f4
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermef committed Nov 8, 2022
2 parents bb074f4 + c785322 commit 534f113
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,31 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python
id: setup-python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: APT Update
run: sudo apt-get update -y
- name: APT Install
run: sudo apt-get install -y libjpeg-dev python3-opencv
run: sudo apt-get install -y --no-install-recommends libjpeg-dev
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
- name: Install remotecv
run: make setup
run: pip install --upgrade --upgrade-strategy eager -e .[dev]
- run: docker-compose pull
- uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- name: Start Redis
run: make run-redis
- name: Run Unit Tests
Expand All @@ -46,8 +54,8 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
- name: Coveralls Finished
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
19 changes: 18 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
readme = ""

TESTS_REQUIREMENTS = [
"celery==4.*,>=4.4.1",
"celery==5.*,>=5.2.7",
"flake8==4.*,>=4.0.1",
"pylint==2.*,>=2.13.8",
"black==22.*,>=22.1.0",
Expand Down Expand Up @@ -34,6 +34,23 @@
author_email="heynemann@gmail.com",
license="MIT",
entry_points={"console_scripts": ["remotecv = remotecv.worker:main"]},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics :: Presentation",
],
packages=[
"remotecv",
"remotecv.detectors",
Expand Down

0 comments on commit 534f113

Please sign in to comment.