-
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
Lots of small fixes to tests and ci stuff #33
Changes from all commits
b982693
3e8b977
5e6eb15
e9b6e0c
4993dc4
63f194e
c2e9142
593c8b4
983ff9e
78654d2
68eed8c
169b0c5
1479e81
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,6 +4,7 @@ clone: | |
|
||
matrix: | ||
PYTHON_VERSION: | ||
# yes py35 is eol, but tinkerbell/osie still uses old ubuntu and py3.5... sigh | ||
- 3.5 | ||
- 3.6 | ||
- 3.7 | ||
|
@@ -12,11 +13,10 @@ matrix: | |
|
||
pipeline: | ||
fmt_and_lint: | ||
image: python:3.8-alpine | ||
image: nixos/nix:2.3.6 | ||
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. i feel this over complicates the build process as well as gives the assumption that you need nix to run these tests. 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. I can make clear that we don't require nix to run the tests? It does neatly pin the black/pylama(and co) versions which is nice for CI. |
||
commands: | ||
- pip install black==19.3b0 pylama | ||
- black --check --diff . | ||
- pylama --ignore=E203 packetnetworking setup.py | ||
- nix-shell --run "black --check --diff ." | ||
- nix-shell --run "pylama packetnetworking setup.py" | ||
|
||
test: | ||
image: python:${PYTHON_VERSION} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
has nix && use nix | ||
dotenv_if_exists |
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.
I believe the version of python osie is running still uses 3.5 :/
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.
wat
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.
wow we need to update those containers already
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.
put it back and added a comment