Skip to content

Commit

Permalink
Merge pull request #4 from da4089/master
Browse files Browse the repository at this point in the history
Switch to GitHub Actions CI (replacing TravisCI)
  • Loading branch information
da4089 committed Feb 23, 2024
2 parents 76d8025 + 2ec2906 commit 7a132e3
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build
on: [push]
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements-dev.txt
- name: Run Tests
run: |
python tests.py
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ vobject.egg-info/**/*
venv/**/*
.idea/*
*.sublime-*
.coverage
venv*
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# VObject
[![PyPI version](https://badge.fury.io/py/vobject.svg)](https://pypi.python.org/pypi/vobject)
[![PyPI downloads](https://img.shields.io/pypi/dm/vobject.svg)](https://pypi.python.org/pypi/vobject)
[![Build](https://github.com/py-object/vobject/actions/workflows/test.yml/badge.svg)]
[![License](https://img.shields.io/pypi/l/vobject.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

VObject is intended to be a full-featured Python package for parsing and
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python-dateutil >= 2.4.0
coverage
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-dateutil >= 2.4.0

0 comments on commit 7a132e3

Please sign in to comment.