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

Replace Travis CI with GitHub Actions #54

Merged
merged 2 commits into from
Sep 17, 2021
Merged

Replace Travis CI with GitHub Actions #54

merged 2 commits into from
Sep 17, 2021

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Jun 11, 2021

This essentially does the same as Travis CI. Key differences:

  • Python 3.10 beta is also tested.

  • Rather than testing on just one Python version on macOS, it tests on all the supported versions.

  • Coverage is sent to Codecov instead of Coveralls, as I'm more familiar with Codecov. If you want to continue with Coveralls, we can check that out, I think it might need a token.

If you like, I'd be happy to comment (with the GH review tool) each part of test.yml to explain what each bit does.

Sample build: https://github.com/hugovk/python-humanfriendly/actions/runs/929044533

Also:

  • It's also easy to add Windows to the test matrix, but I tried it and there were some failing tests, possibly due to OS assumptions, so that can be something to check in the future.

  • Like on Travis CI, only a single Python version is tested on macOS. I did try testing against the whole matrix of Python versions, but for some reason 2.7, 3.8, 3.9 and 3.10-dev were taking a very long time on macOS. If desired, testing the whole matrix could be investigated in the future, for now there's parity with Travis.

  • It might also be easier to update the README badges after merge.

@hugovk hugovk mentioned this pull request Jun 11, 2021
@xolox xolox merged commit 761ede5 into xolox:master Sep 17, 2021
@xolox
Copy link
Owner

xolox commented Sep 17, 2021

Hi Hugo, thanks so much for this pull request and sorry it took me so long to respond. This has been merged now!

@hugovk hugovk deleted the add-gha branch September 18, 2021 07:40
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 27, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `openembedded#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `openembedded#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `openembedded#53`_).

**Internal changes:**

- Merged pull request `openembedded#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 27, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `openembedded#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `openembedded#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `openembedded#53`_).

**Internal changes:**

- Merged pull request `openembedded#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 27, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `openembedded#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `openembedded#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `openembedded#53`_).

**Internal changes:**

- Merged pull request `openembedded#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 28, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `openembedded#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `openembedded#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `openembedded#53`_).

**Internal changes:**

- Merged pull request `openembedded#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 28, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `openembedded#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `openembedded#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `openembedded#53`_).

**Internal changes:**

- Merged pull request `openembedded#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit to openembedded/meta-openembedded that referenced this pull request Sep 28, 2021
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `#53`_).

**Internal changes:**

- Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `#53`_).

**Internal changes:**

- Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
daregit pushed a commit to daregit/yocto-combined that referenced this pull request May 22, 2024
`Release 10.0`_ (2021-09-17)
----------------------------
**Noteworthy changes:**

- Merged pull request `#45`_ to resolve the issue caused by the conditional
  :pypi:`pyreadline` requirement on Windows not supporting Python 3.9+.

- Updated the readme to use Python 3 in the example (reported in issue `#56`_).
  Also added a mention of the ``humanfriendly --demo`` command.

- Removed the ``humanfriendly.compat.unittest`` alias that presumably no-one is
  using at this point; it had been rendered useless quite a long time ago
  (requested in issue `#53`_).

**Internal changes:**

- Merged pull request `#54`_ which migrates the :pypi:`humanfriendly` project
  from Travis CI to GitHub Actions and from Coveralls.io to Codecov.

- Fixed a deprecation warning concerning ``setup.cfg`` and some Sphinx
  documentation errors.

.. _Release 10.0: xolox/python-humanfriendly@9.2...10.0
.. _#45: xolox/python-humanfriendly#45
.. _#53: xolox/python-humanfriendly#53
.. _#54: xolox/python-humanfriendly#54
.. _#56: xolox/python-humanfriendly#56

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
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.

None yet

2 participants