Skip to content

Commit 6aa1c63

Browse files
committed
relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository
Catalysts#1 pipeline copied from https://github.com/fphammerle/ical2vdir/blob/26ccafb47af414a2160a10d4cc4e8997d19df22e/.github/workflows/python.yml
1 parent a0eb865 commit 6aa1c63

File tree

4 files changed

+199
-179
lines changed

4 files changed

+199
-179
lines changed

.github/workflows/python.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+
# shown in badge
4+
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#adding-a-workflow-status-badge-to-your-repository
5+
name: tests
6+
7+
on:
8+
push:
9+
pull_request:
10+
schedule:
11+
- cron: '0 20 * * 5'
12+
13+
jobs:
14+
tests:
15+
runs-on: ubuntu-20.04
16+
strategy:
17+
matrix:
18+
python-version:
19+
- 3.5
20+
- 3.6
21+
- 3.7
22+
- 3.8
23+
- 3.9
24+
fail-fast: false
25+
steps:
26+
- uses: actions/checkout@v1
27+
- uses: actions/setup-python@v1
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
- run: pip install --upgrade pipenv==2020.8.13
31+
- run: pipenv install --python "$PYTHON_VERSION" --deploy --dev
32+
env:
33+
PYTHON_VERSION: ${{ matrix.python-version }}
34+
- run: pipenv graph
35+
- run: pipenv run pytest --cov="$(cat *.egg-info/top_level.txt)" --cov-report=term-missing --cov-fail-under=100
36+
- run: pipenv run pylint "$(cat *.egg-info/top_level.txt)" tests/*

.gitlab-ci.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

Pipfile

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,24 @@ verify_ssl = true
77
dlinfo = {editable = true,path = "."}
88

99
[dev-packages]
10-
pytest = "*"
10+
#pytest = "*"
1111
pytest-cov = "*"
12-
pylint = ">=2.3.0"
12+
#pylint = "*"
13+
14+
# python3.5 compatibility
15+
# https://github.com/PyCQA/astroid/commit/d81f07becf3243a84e0baaa3493ce74cafed8022#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R52
16+
astroid = "<2.5"
17+
# https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
18+
importlib-metadata = "<3"
19+
isort = "<5"
20+
# workaround https://github.com/pytest-dev/pytest/issues/3953
21+
pathlib2 = {version = "*", markers="python_version < '3.6'"}
22+
# https://github.com/PyCQA/pylint/commit/6e2de8e3a2e2c5586e876ca305f0844bdd822db3
23+
pylint = "<2.7"
24+
# https://github.com/pytest-dev/pytest/commit/179f4326df2b644f0ab73f78e4770dafcbdcd89f#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R52
25+
pytest = "<6.2"
26+
# https://github.com/jaraco/zipp/commit/05a3c52b4d41690e0471a2e283cffb500dc0329a
27+
zipp = "<2"
1328

1429
[requires]
1530
python_version = "3"

0 commit comments

Comments
 (0)