Skip to content

Commit

Permalink
Merge pull request #42 from rouge8/github-actions
Browse files Browse the repository at this point in the history
Switch from Travis to GitHub Actions
  • Loading branch information
glyph authored Oct 16, 2024
2 parents c2f4331 + 4405e85 commit 68e93a4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 20 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
unit:
name: "Py:${{ matrix.python-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install tox
run: pip install tox

- name: Run unit tests
run: tox -e py
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 68e93a4

Please sign in to comment.