Skip to content

Commit

Permalink
Add first-draft GitHub CI action.
Browse files Browse the repository at this point in the history
  • Loading branch information
da4089 committed Feb 23, 2024
1 parent 76d8025 commit 0512f9a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 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@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
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*
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 0512f9a

Please sign in to comment.