Skip to content

Commit

Permalink
Add github actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
speleo3 committed Dec 21, 2023
1 parent b4e94d5 commit eb7ee84
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
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, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-20.04
python-version: "3.6"
- os: ubuntu-22.04
python-version: "3.12"

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install --editable .[dev]
- run: python csb/build.py -o .
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ CSB is open source and distributed under OSI-approved MIT license.
------------

.. image:: https://travis-ci.org/csb-toolbox/CSB.svg?branch=master
  :target: https://travis-ci.org/csb-toolbox
.. image:: https://github.com/csb-toolbox/CSB/workflows/CI/badge.svg
  :target: https://github.com/csb-toolbox/CSB/actions

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
LICENSE = 'MIT'

REQUIREMENTS = open("requirements.txt", encoding="utf-8").readlines()
DEV_REQUIREMENTS = []
DEV_REQUIREMENTS = ["setuptools"]

v = {}
exec(open(ROOT + "/__init__.py", encoding="utf-8").read(), v)
Expand Down

0 comments on commit eb7ee84

Please sign in to comment.