Skip to content
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

build: Shifted CI from Travis to GitHub Actions #194

Merged
merged 2 commits into from
Sep 7, 2021

Conversation

Jawayria
Copy link
Contributor

This is a part of Django 3.2 upgrade process as mentioned in this doc Django 3.2 Upgrade: Steps to Upgrade a Repository

@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@71d42b9). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #194   +/-   ##
=========================================
  Coverage          ?   95.01%           
=========================================
  Files             ?       29           
  Lines             ?     2788           
  Branches          ?      209           
=========================================
  Hits              ?     2649           
  Misses            ?      113           
  Partials          ?       26           
Flag Coverage Δ
unittests 95.01% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71d42b9...5d92639. Read the comment docs.

@coveralls
Copy link

coveralls commented Aug 17, 2021

Coverage Status

Coverage decreased (-0.04%) to 96.019% when pulling a0ccc28 on Jawayria:jawayria/github-ci into 46f2886 on edx:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 96.019% when pulling fd819d5 on Jawayria:jawayria/github-ci into acd1b90 on edx:master.

@doctoryes
Copy link
Contributor

@Jawayria I have gone to this page:
https://app.travis-ci.com/github/edx/opaque-keys/settings
and turned off both "Build pushed branches" and "Build pushed pull requests" there. Is that the only action I need to take to turn off Travis CI for this repo?

Also, it'd be preferable to have newlines at the end of each file in this PR.

@Jawayria
Copy link
Contributor Author

@doctoryes it seems like Travis CI checks are still required. I don't have access to this repo's settings. Can you please have a look at it.

@doctoryes
Copy link
Contributor

Closing/re-opening to trigger tests.

@doctoryes doctoryes closed this Aug 24, 2021
@doctoryes doctoryes reopened this Aug 24, 2021
@doctoryes
Copy link
Contributor

@Jawayria I've turned back on the TravisCI runs. Perhaps you need to force-push to your branch again to kick off the TravisCI for your branch?

@Jawayria Jawayria closed this Aug 25, 2021
@Jawayria Jawayria reopened this Aug 25, 2021
Copy link
Contributor

@mraarif mraarif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few questions/suggestions otherwise looks good 👍

run: pip install -r requirements/pip.txt

- name: Install Dependencies
run: pip install setuptools wheel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need this, since all of these packages should already be listed in pip.txt


coveralls # Code coverage reporting
tox # Virtualenv management for tests
tox-battery # Makes tox aware of requirements file changes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need tox-battery?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so but it was being used with travis as well.

uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file should end with a newline

uses: codecov/codecov-action@v1
with:
flags: unittests
fail_ci_if_error: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file should end with a newline


pip
setuptools
wheel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@kdmccormick kdmccormick changed the title feat: Shifted CI from Travis to GitHub Actions build: Shifted CI from Travis to GitHub Actions Sep 7, 2021
@kdmccormick
Copy link
Member

Thanks @Jawayria . I rebased this branch and will merge it soon. After it's merged, I'll remove Travis CI from this repo.

@kdmccormick kdmccormick merged commit 7e6e344 into openedx:master Sep 7, 2021
@Jawayria Jawayria deleted the jawayria/github-ci branch September 7, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants