Skip to content

Commit

Permalink
chore: add github workflow for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
altaurog committed Mar 19, 2024
1 parent 8ee06a7 commit 91014bc
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 40 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests
on:
push:
branches:
- vector

jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: run tests
run: |
pip3 install tox tox-docker
tox -e coverage
- name: coveralls
uses: coverallsapp/github-action@v2
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
pgcopy
=======

.. image:: https://travis-ci.org/altaurog/pgcopy.svg?branch=master
.. image:: https://github.com/altaurog/pgcopy/actions/workflows/test.yaml/badge.svg?branch=vector
:target: https://travis-ci.org/altaurog/pgcopy

.. image:: https://coveralls.io/repos/github/altaurog/pgcopy/badge.svg?branch=master
:target: https://coveralls.io/github/altaurog/pgcopy?branch=master
:target: https://github.com/altaurog/pgcopy/actions/workflows/test.yaml

.. image:: https://img.shields.io/pypi/l/pgcopy.svg
:target: https://pypi.org/project/pgcopy/
Expand Down

0 comments on commit 91014bc

Please sign in to comment.