Skip to content

Commit

Permalink
add github actions (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasiliy566 authored Aug 8, 2023
1 parent 8e56507 commit d9d03a1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 24 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: giveme ci

on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Test with pytest
run: |
pytest
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ GiveMe has many more advanced options, for more examples and full API documentat

`pip install giveme`

Python3.5 and up are supported.
Python3.8 and up are supported.


<a id="orgd8ed99f"></a>
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest == 5.3.1
pytest-cov == 2.8.1
pytest-asyncio == 0.10.0
pytest
pytest-cov
pytest-asyncio

0 comments on commit d9d03a1

Please sign in to comment.