Skip to content

Commit

Permalink
Convert defunct Travis CI workflow to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Dec 15, 2023
1 parent 3b75f79 commit f7c4491
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 27 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- '3.12'
steps:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python-version }}'
cache: pip
cache-dependency-path: |
poetry.lock
pyproject.toml
- uses: actions/checkout@v4
- run: pip install poetry
- run: poetry install --with dev
- run: make tests
- run: make cov
- run: coveralls
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Radon
:alt: Codacy badge
:target: https://www.codacy.com/app/rubik/radon/dashboard

.. image:: https://img.shields.io/travis/rubik/radon/master.svg?style=for-the-badge
:alt: Travis-CI badge
:target: https://travis-ci.org/rubik/radon
.. image:: https://img.shields.io/github/actions/workflow/status/rubik/radon/ci.yml
:alt: GitHub Actions badge
:target: https://github.com/rubik/radon/actions

.. image:: https://img.shields.io/coveralls/rubik/radon/master.svg?style=for-the-badge
:alt: Coveralls badge
Expand Down
6 changes: 0 additions & 6 deletions test_requirements.txt

This file was deleted.

0 comments on commit f7c4491

Please sign in to comment.