Project

General

Profile

Actions

action #102350

closed

Move openqa-review CI to Github Actions

Added by tinita almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
2021-11-10
Due date:
2021-11-25
% Done:

0%

Estimated time:

Description

Observation

https://app.travis-ci.com/github/os-autoinst/openqa_review

Builds have been temporarily disabled for public repositories due to a negative credit balance. Please go to the Plan page to replenish your credit balance or alter your Consume paid credits for OSS setting.

So credits are gone quite fast. We should move to GitHub Actions.

Acceptance criteria

  • AC1: All tests running on Travis so far are run on GHA instead
  • AC2: Publishing to pypi works

Suggestions

  • there's a Python Publish workflow template using pypa/gh-action-pypi-publish

Related issues 2 (1 open1 closed)

Related to QA - action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:MResolvedtinita2021-11-102021-11-25

Actions
Related to openQA Project - action #102590: openqa_review: pypi publishing based on every git commit in master, not just tags (was: Uploading to pypi stopped, also no git tags any more after 1.25.0)New2021-11-17

Actions
Actions #1

Updated by tinita almost 3 years ago

  • Copied from action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M added
Actions #2

Updated by okurz almost 3 years ago

  • Priority changed from High to Normal

I don't see this as urgent though. We might just be ok with waiting as the project is not under rapid development. Honestly I would not even have added it to the backlog immediately. If you can't get it to work soon please move it out of the backlog again

Actions #3

Updated by tinita almost 3 years ago

PR for testing (AC1): https://github.com/os-autoinst/openqa_review/pull/196

TODO: doctests (help wanted)

edit: Actually, doctests are also currently not executed on Travis CI. so AC1 is fulfilled I think.

Actions #4

Updated by tinita almost 3 years ago

okurz wrote:

We might just be ok with waiting as the project is not under rapid development.

So we wait until december for open pull requests?

Actions #5

Updated by tinita almost 3 years ago

  • Copied from deleted (action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M)
Actions #6

Updated by tinita almost 3 years ago

  • Blocks action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M added
Actions #7

Updated by okurz almost 3 years ago

  • Blocks deleted (action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M)
Actions #8

Updated by okurz almost 3 years ago

  • Related to action #102200: openqa-review pipeline failed: 'NoneType' object is not subscriptable, or failed with `assert self.issue_type == "bugzilla"` size:M added
Actions #9

Updated by okurz almost 3 years ago

Apparently travis CI still works as we have seen for example in https://github.com/os-autoinst/openqa_review/pull/197

Actions #10

Updated by okurz almost 3 years ago

Meh, I am stupid. travis CI checks are actually not triggered at all! :D

Actions #11

Updated by tinita almost 3 years ago

  • Status changed from New to In Progress

https://github.com/os-autoinst/openqa_review/pull/196 was merged.
As discussed in the PR, it should be improved.

Actions #12

Updated by tinita almost 3 years ago

  • Related to action #102590: openqa_review: pypi publishing based on every git commit in master, not just tags (was: Uploading to pypi stopped, also no git tags any more after 1.25.0) added
Actions #13

Updated by tinita almost 3 years ago

  • Description updated (diff)

Publishing to pypi is handled in #102590

Actions #14

Updated by tinita almost 3 years ago

  • Description updated (diff)
Actions #15

Updated by tinita almost 3 years ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by tinita almost 3 years ago

  • Status changed from Feedback to In Progress

PR merged.

Actions #17

Updated by tinita almost 3 years ago

I think I got doctest in combination with coverage working.

./.tox/cov/bin/py.test --cov=openqa_review --doctest-modules openqa_review/*
./.tox/cov/bin/py.test --cov=openqa_review  --cov-append

I added a dummy function with a doctest, and coverage was 100%
Will put it into the workflow tomorrow.

Actions #19

Updated by tinita almost 3 years ago

  • Status changed from In Progress to Resolved

PR was merged.
We now have all tests running on GHA including doctests and coverage.

Actions

Also available in: Atom PDF