Skip to content

Fix tox lint command #623

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

Merged
merged 3 commits into from
Aug 24, 2021
Merged

Fix tox lint command #623

merged 3 commits into from
Aug 24, 2021

Conversation

owais
Copy link
Contributor

@owais owais commented Aug 24, 2021

Description

  • Move apt-get install command to github actions to run on an ubuntu
    system only. This keeps tox.ini cross-platform and enabled to run on
    non-ubuntu systems locally.
  • Add -y flag to apt-get install command so it does not wait for
    configuration on CI.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@owais owais added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 24, 2021
@owais owais force-pushed the fix-lint branch 4 times, most recently from 47050f3 to 50c9d52 Compare August 24, 2021 14:32
@owais owais changed the title auto-config apt-get install command Fix tox lint command Aug 24, 2021
@owais owais marked this pull request as ready for review August 24, 2021 14:34
@owais owais requested review from a team, codeboten and ocelotl and removed request for a team August 24, 2021 14:34
@owais
Copy link
Contributor Author

owais commented Aug 24, 2021

Looks like this was not the root cause for job getting stuck but it is still an improvement on the current step IMO so we should merge this.

- Move apt-get install command to github actions to run on an ubuntu
  system only. This keeps tox.ini cross-platform and enabled to run on
  non-ubuntu systems locally.
- Add `-y` flag to apt-get install command so it does not wait for
  configuration on CI.
@owais owais force-pushed the fix-lint branch 2 times, most recently from f7f374f to 49d18cc Compare August 24, 2021 20:27
@owais owais merged commit cc2529e into open-telemetry:main Aug 24, 2021
@owais owais deleted the fix-lint branch August 24, 2021 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants