Skip to content

Commit

Permalink
Travis to Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sh0oki committed Dec 18, 2023
1 parent 3fa62b1 commit 1734a1c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.11]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python3 setup.py install
- name: Test with unittest
run: python3 -m unittest discover tests

7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

[![image](https://img.shields.io/pypi/v/israel-rail-api.svg)](https://pypi.org/project/israel-rail-api/)
[![image](https://img.shields.io/pypi/l/israel-rail-api.svg)](https://pypi.org/project/israel-rail-api/)
[![Build Status](https://travis-ci.org/sh0oki/israel-rail-api.svg?branch=master)](https://travis-ci.org/sh0oki/israel-rail-api)
![Build status](https://github.com/sh0oki/israel-rail-api/actions/workflows/test.yml/badge.svg)



This is a unofficial wrapping of the API of Israeli Rail network in Python.

Expand Down

0 comments on commit 1734a1c

Please sign in to comment.