Skip to content

Commit

Permalink
use GitHub Actions to run test suite (#101)
Browse files Browse the repository at this point in the history
Travis CI did shut down its free tier a long time ago so let's use GitHub Actions
instead.
  • Loading branch information
FelixSchwarz committed Nov 20, 2023
1 parent 3d606b5 commit 95571e6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 19 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: run

on: [push]

jobs:
tests:
# "ubuntu-latest" does not have Python 3.6
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: |
python3 -m unittest
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# DotMap

[![Build Status](https://travis-ci.com/drgrib/dotmap.svg?branch=master)](https://travis-ci.com/drgrib/dotmap)

[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate?business=N2GLXLS5KBFBY&item_name=Chris+Redford&currency_code=USD)

# Install
Expand Down

0 comments on commit 95571e6

Please sign in to comment.