-
Notifications
You must be signed in to change notification settings - Fork 39
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
Run functional tests on different OS #633
Conversation
### What's done: * Split different diktat runners in functional_tests.yml * Specify ubuntu version explicitly
Codecov Report
@@ Coverage Diff @@
## master #633 +/- ##
=========================================
Coverage 80.81% 80.81%
Complexity 1790 1790
=========================================
Files 90 90
Lines 4691 4691
Branches 1415 1415
=========================================
Hits 3791 3791
Misses 319 319
Partials 581 581
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
### What's done: * matrix.os in functional_tests.yml
### What's done: * matrix.os in functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Removed explicit env vars from functional_tests.yml
### What's done: * Use cmd on windows
### What's done: * Use cmd on windows
### What's done: * Use cmd on windows
### What's done: * Use cmd on windows
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest, macos-latest ] |
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.
Why do we use ubuntu-latest, but previously we were using ubuntu-20.04?
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.
It shouldn't matter much, currently ubuntu-latest
is 18.04, but github has already announced it will be changed to 20.04 soon. I thought that since I introduce other OS here, it will be easier to just use latest
tag and not manage specific versions for all environments. And since diktat is a JVM application, it should run on all recent distros.
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.
lgtm
What's done:
Fixme:
env
infunctional_tests.yml
, they are actually taken from poms, and their existence there is confusing. Should use github actions' env vars file instead.This pull request closes #626