-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NO TICKET] Update PyYAML and fix CI #155
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ on: [push] | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python-version: [3.9, 3.8] | ||
poetry-version: [1.1.7] | ||
poetry-version: [1.3.1] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. lock file was incompatible with old version, someone prob pushed a newer one, bumped this |
||
env: | ||
IS_COVERAGE_ALLOWED: ${{ secrets.CODACY_PROJECT_TOKEN != '' }} | ||
IS_MASTER_BRANCH: ${{ github.ref == 'refs/heads/master' }} | ||
|
@@ -27,7 +27,7 @@ jobs: | |
- name: Run tests | ||
run: poetry run pytest --cov-report xml --cov=autopr test/ -v | ||
lint: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
|
@@ -37,7 +37,7 @@ jobs: | |
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.1.7 | ||
poetry-version: 1.3.1 | ||
- name: Install pip dependencies | ||
run: poetry install | ||
- name: Run pre-commit | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-python@v1 | ||
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.1.7 | ||
poetry-version: 1.3.1 | ||
- name: Install pip dependencies | ||
run: poetry install | ||
- name: Package | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ repos: | |
- id: black | ||
additional_dependencies: ['click==8.0.4'] | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.9.3 | ||
rev: 5.12.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was dying at the old version |
||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ python = "^3.8" | |
marshmallow = "3.13.0" | ||
marshmallow-dataclass = "8.5.3" | ||
click = "8.0.1" | ||
PyYAML = "5.4.1" | ||
PyYAML = "6.0.1" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was an issue with cython from last week affecting our version, options were to downgrade or upgrade. This is visible on my local machine where
|
||
PyGithub = "1.55" | ||
single-source = "0.2.0" | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was deprecated, didn't want to run