pycontw / pycon.tw

PyCon TW Proposal System & Backend Server
https://tw.pycon.org/prs
MIT License
95 stars 107 forks source link

Migrate travis to GitHub actions #1125

Closed Lee-W closed 1 year ago

Lee-W commented 1 year ago

Types of changes

Description

Migrate travis ci to github actions, and fix flake8 errors and proposal test case at the same time

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: -0.10 :warning:

Comparison is base (6fa966d) 69.56% compared to head (aeeaa7b) 69.46%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1125 +/- ## ========================================== - Coverage 69.56% 69.46% -0.10% ========================================== Files 82 82 Lines 3364 3357 -7 ========================================== - Hits 2340 2332 -8 - Misses 1024 1025 +1 ``` | [Impacted Files](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw) | Coverage Δ | | |---|---|---| | [src/core/models.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL2NvcmUvbW9kZWxzLnB5) | | | | [src/proposals/forms/mixins.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL3Byb3Bvc2Fscy9mb3Jtcy9taXhpbnMucHk=) | | | | [src/proposals/forms/proposals.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL3Byb3Bvc2Fscy9mb3Jtcy9wcm9wb3NhbHMucHk=) | | | | [src/events/management/commands/import\_events.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL2V2ZW50cy9tYW5hZ2VtZW50L2NvbW1hbmRzL2ltcG9ydF9ldmVudHMucHk=) | | | | [.../proposals/management/commands/recent\_proposals.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL3Byb3Bvc2Fscy9tYW5hZ2VtZW50L2NvbW1hbmRzL3JlY2VudF9wcm9wb3NhbHMucHk=) | | | | [src/users/admin.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL3VzZXJzL2FkbWluLnB5) | | | | [src/core/management/commands/drf\_create\_token.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL2NvcmUvbWFuYWdlbWVudC9jb21tYW5kcy9kcmZfY3JlYXRlX3Rva2VuLnB5) | | | | [src/core/widgets.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL2NvcmUvd2lkZ2V0cy5weQ==) | | | | [src/attendee/apps.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL2F0dGVuZGVlL2FwcHMucHk=) | | | | [src/sponsors/api/urls.py](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw#diff-c3JjL3Nwb25zb3JzL2FwaS91cmxzLnB5) | | | | ... and [154 more](https://codecov.io/gh/pycontw/pycon.tw/pull/1125?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pycontw)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

iknowright commented 1 year ago

I have tested the codecov from GitHub action but it did not work. I reset it and used TODO here. Minor issues fixed Thanks

Lee-W commented 1 year ago

Thanks @iknowright for finishing the job!