Skip to content

Commit

Permalink
Switch to Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Dec 2, 2023
1 parent 634cde1 commit 5bd8e6c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 66 deletions.
63 changes: 0 additions & 63 deletions .circleci/config.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
pyversion: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.version }}"
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install tox
run: pip install tox
- name: Run tests on Python ${{ matrix.version }}
run: tox
env:
TOXENV: "py${{ matrix.version }}"
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ fahrplan
========


.. image:: https://circleci.com/gh/dbrgn/fahrplan.svg?style=shield&circle-token=:circle-token
.. image:: https://github.com/dbrgn/fahrplan/actions/workflows/CI/badge.svg
:alt: Build status
:target: https://circleci.com/gh/dbrgn/fahrplan/
:target: https://github.com/dbrgn/fahrplan/actions

Goal: Simple access to the SBB/CFF/FFS timetable service from the commandline with human
Goal: Simple access to the SBB/CFF/FFS timetable service from the command line with human
readable argument parsing.

Relies on the public transport API by opendata.ch: http://transport.opendata.ch/
Expand Down

0 comments on commit 5bd8e6c

Please sign in to comment.