Skip to content

Commit c37c77d

Browse files
Merge remote-tracking branch 'refs/remotes/origin/master'
2 parents 284028c + 4310fae commit c37c77d

File tree

4 files changed

+51
-24
lines changed

4 files changed

+51
-24
lines changed

.github/workflows/test-linux.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: flati test
2+
3+
on:
4+
push:
5+
paths:
6+
- ".github/workflows/test-linux.yml"
7+
- "flati/**"
8+
- "*.py"
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- ".github/workflows/test-linux.yml"
14+
- "flati/**"
15+
- "*.py"
16+
17+
jobs:
18+
test:
19+
name: Test
20+
runs-on: ubuntu-latest
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
python:
25+
- "3.13"
26+
- "3.12"
27+
- "3.11"
28+
- "3.10"
29+
- "3.9"
30+
- "3.8"
31+
- "3.7"
32+
steps:
33+
- name: Checkout code
34+
uses: actions/[email protected]
35+
36+
- name: setup python ${{ matrix.python }}
37+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
38+
with:
39+
python-version: ${{ matrix.python }}
40+
41+
- name: Install dependencies
42+
run: |
43+
python -m pip install --upgrade pip
44+
python -m pip install -r test-requirements.txt
45+
46+
- name: Run tests
47+
run: |
48+
python -m pip install .
49+
pytest

.travis.yml

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

README.rst

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
flati
22
==========
3-
|travis| |coveralls| |pyversion| |version| |license|
3+
|pyversion| |version| |license|
44

55
Flatten nested iterable object (Pure-Python implementation)
66

@@ -50,14 +50,6 @@ Contributions are welcome.
5050
See https://github.com/ikegami-yukino/flati/blob/master/CONTRIBUTING.md
5151

5252

53-
.. |travis| image:: https://travis-ci.org/ikegami-yukino/flati.svg?branch=master
54-
:target: https://travis-ci.org/ikegami-yukino/flati
55-
:alt: travis-ci.org
56-
57-
.. |coveralls| image:: https://coveralls.io/repos/ikegami-yukino/flati/badge.svg?branch=master&service=github
58-
:target: https://coveralls.io/github/ikegami-yukino/flati?branch=master
59-
:alt: coveralls.io
60-
6153
.. |pyversion| image:: https://img.shields.io/pypi/pyversions/flati.svg
6254

6355
.. |version| image:: https://img.shields.io/pypi/v/flati.svg

test-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pytest

0 commit comments

Comments
 (0)