Skip to content

Commit

Permalink
Merge pull request #111 from gipplab/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
jpwahle authored Oct 4, 2022
2 parents 5f63810 + 6a8e015 commit 69fc7ab
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: 3.8

- name: 💿 Install poetry
uses: snok/install-poetry@v1
Expand All @@ -26,3 +26,6 @@ jobs:
- name: 🧪 Run tests
run: |
poetry run poe alltest
- name: 🐳 Build docker image
run: docker build .
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: 3.8

- name: 💿 Install poetry
uses: snok/install-poetry@v1
Expand All @@ -39,7 +39,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: "3.10"
python-version: 3.8

- name: 🏷 Bump version and push tag
id: tag_version
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.8

WORKDIR /cs-insights-crawler
COPY . /cs-insights-crawler

RUN apt-get update && apt-get install liblapack-dev libblas-dev gfortran python3-venv -y
RUN pip install poetry
RUN poetry install --no-dev

CMD [ "poetry", "run", "cli", "main", "--s2_use_papers", "--s2_use_abstracts", "--s2_use_authors", "--s2_filter_dblp" ]
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.10
python_version = 3.8
warn_return_any = True
warn_unused_configs = True
disallow_untyped_defs = True
Expand Down

0 comments on commit 69fc7ab

Please sign in to comment.