Skip to content

Commit

Permalink
Merge pull request #8 from ThomasWaldmann/updates
Browse files Browse the repository at this point in the history
misc. updates
  • Loading branch information
ThomasWaldmann authored Apr 3, 2024
2 parents 116515a + d92e594 commit 6892c6f
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 33 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Python package

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
pytest:

strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: '3.9'
- os: ubuntu-latest
python-version: '3.10'
- os: ubuntu-latest
python-version: '3.11'
- os: ubuntu-latest
python-version: '3.12'

runs-on: ${{ matrix.os }}
timeout-minutes: 10

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

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, pypy, py34, py35, py36, py37
envlist = py27, pypy, py39, py310, py311, py312

[testenv]
deps = pytest
Expand Down

0 comments on commit 6892c6f

Please sign in to comment.