Skip to content

Commit 39e299b

Browse files
author
Maximilian Karl
authored
Merge pull request #75 from TUBAF-IFI-DiPiT/github2pandas-v2.0.0
Github2pandas v2.0.0
2 parents f139af4 + 90dbd82 commit 39e299b

29 files changed

+4704
-3530
lines changed

.github/workflows/test_empty_repo.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test empty repo
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
9+
extractData:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
path: src
17+
- name: Set up Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
21+
- name: Prepare python environment
22+
run: |
23+
pip install pipenv
24+
- name: Install dependencies
25+
run: |
26+
cd src
27+
pipenv install
28+
- name: Run tests
29+
env:
30+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
OWNER: MaximilianKarl
32+
NAME: empty_repository
33+
run: |
34+
cd src
35+
pipenv run python -m unittest

.github/workflows/test_large_repo.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Test large repo
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
9+
extractData:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
path: src
17+
- name: Set up Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.9
21+
- name: Prepare python environment
22+
run: |
23+
pip install pipenv
24+
- name: Install dependencies
25+
run: |
26+
cd src
27+
pipenv install
28+
- name: Run Repository extraction
29+
env:
30+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
OWNER: microsoft
32+
NAME: vscode
33+
run: |
34+
cd src
35+
pipenv run python -m unittest discover -p 'test_repository.py'

.github/workflows/python_package.yml renamed to .github/workflows/test_own_repo.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: RunTests
1+
name: Test own repo
22

33
on:
44
push:
5-
branches: [ main, bug-fix/tests ]
6-
75
workflow_dispatch:
86

97
jobs:
@@ -16,10 +14,10 @@ jobs:
1614
- uses: actions/checkout@v2
1715
with:
1816
path: src
19-
- name: Set up Python 3.8
17+
- name: Set up Python 3.9
2018
uses: actions/setup-python@v2
2119
with:
22-
python-version: 3.8
20+
python-version: 3.9
2321
- name: Prepare python environment
2422
run: |
2523
pip install pipenv
@@ -30,6 +28,8 @@ jobs:
3028
- name: Run tests
3129
env:
3230
TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
OWNER: TUBAF-IFI-DiPiT
32+
NAME: github2pandas
3333
run: |
3434
cd src
3535
pipenv run python -m unittest

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ secret.yml
2020
/dist/
2121
/build/
2222
.pypirc
23-
.venv
23+
.venv
24+
test_data/
25+
*.xlsx
26+
reqlib-metadata

Pipfile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,20 @@ name = "pypi"
55

66
[packages]
77
pygit2 = "*"
8-
pyyaml = "*"
98
requests = "*"
10-
datetime = "*"
119
pygithub = "*"
12-
argparse = "*"
13-
pydriller = "<=1.15.2"
1410
git2net = "*"
1511
pysqlite3 = "*"
16-
selenium = "*"
17-
python-dotenv = "*"
1812
pandas = "*"
19-
sphinx = "*"
20-
m2r2 = "*"
21-
pypiwin32 = {sys_platform = "== 'win32'"}
2213
human-id = "*"
23-
psutil = "*"
24-
sphinx-rtd-theme = "*"
14+
xlsxwriter = "*"
2515

2616
[dev-packages]
2717
github2pandas = {editable = true, path = "."}
2818
pipenv-setup = "*"
19+
sphinx = "*"
20+
build = "*"
21+
sphinx-rtd-theme = "*"
2922

3023
[requires]
31-
python_version = "3.8"
24+
python_version = "3.9"

0 commit comments

Comments
 (0)