Skip to content

Commit

Permalink
Introduce CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubl7545 committed Feb 22, 2022
1 parent 9adffcc commit 6f6dee0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI pipeline

on:
push:
branches:
- "master"
pull_request:
branches:
- "master"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.7]
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: set up python ${{ matrix.python-version }}
uses: action/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: run tests
run: pytest tests/test*
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pytest

0 comments on commit 6f6dee0

Please sign in to comment.