Skip to content

Commit e68983a

Browse files
authored
Merge pull request #38 from hsluv/resurrect-ci
Resurrect CI (fixes #37)
2 parents b628f92 + d010457 commit e68983a

4 files changed

Lines changed: 35 additions & 10 deletions

File tree

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Copyright (c) 2022 Sebastian Pipping <sebastian@pipping.org>
2+
# Licensed under the MIT license, see file LICENSE.txt
3+
4+
name: Run the Test Suite
5+
6+
on:
7+
- pull_request
8+
- push
9+
10+
jobs:
11+
run_test_suite:
12+
strategy:
13+
matrix:
14+
python-version: [3.7, '3.10'] # no current need for in-between versions
15+
name: Run the Test Suite
16+
runs-on: ubuntu-20.04
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
25+
- name: Run the Test Suite
26+
run: |-
27+
set -x
28+
python setup.py sdist
29+
cd dist/
30+
tar xf hsluv-*.tar.gz
31+
cd hsluv-*/
32+
python setup.py test

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/hsluv/hsluv-python.svg?branch=master)](https://travis-ci.org/hsluv/hsluv-python)
1+
[![Build Status](https://github.com/hsluv/hsluv-python/actions/workflows/test.yml/badge.svg)](https://github.com/hsluv/hsluv-python/actions/workflows/test.yml)
22
[![Package Version](https://img.shields.io/pypi/v/hsluv.svg)](https://pypi.python.org/pypi/hsluv/)
33

44
A Python implementation of [HSLuv](https://www.hsluv.org) (revision 4).

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"Operating System :: OS Independent",
2121
"Topic :: Software Development",
2222
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3.6",
2423
"Programming Language :: Python :: 3.7",
2524
"Programming Language :: Python :: 3.8",
2625
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3 :: Only",
2828
],
29-
python_requires='>=3.6',
29+
python_requires='>=3.7',
3030
setup_requires=[
3131
'setuptools>=38.6.0', # for long_description_content_type
3232
],

0 commit comments

Comments
 (0)