Skip to content

Commit 3fa42ca

Browse files
committed
Adjust badges, bump SQLAlchemy test version and add "workflow_dispatch"
- Adjust and add some badges to README.rst. - For covering the most recent SQLAlchemy 1.3 release, bump to SQLAlchemy version 1.3.23. - Also, enable listening to "workflow_dispatch" events in order to be able to trigger workflows manually from the UI.
1 parent 7e12a49 commit 3fa42ca

File tree

2 files changed

+33
-20
lines changed

2 files changed

+33
-20
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
---
2-
name: test
1+
name: Tests
32

43
on:
5-
pull_request: ~
64
push:
7-
branches:
8-
- master
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
workflow_dispatch:
99
schedule:
1010
- cron: '0 2 * * *'
1111

1212

1313
jobs:
1414
test:
15-
name: "Test python-${{ matrix.python-version }}
16-
sqla: ${{ matrix.sqla-version }}
15+
name: "Python: ${{ matrix.python-version }}
16+
SQLA: ${{ matrix.sqla-version }}
1717
CrateDB: ${{ matrix.crate-version }}
1818
on ${{ matrix.os }}"
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
2222
crate-version: [nightly]
2323
os: [ubuntu-latest]
24-
sqla-version: ['1.1.18', '1.2.19', '1.3.20']
24+
sqla-version: ['1.1.18', '1.2.19', '1.3.23']
2525
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
2626

2727
steps:

README.rst

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,42 @@
22
CrateDB Python Client
33
=====================
44

5-
.. image:: https://dev.azure.com/cratedb/crate-python/_apis/build/status/crate.crate-python?branchName=master
6-
:target: https://dev.azure.com/cratedb/crate-python/_build/latest?definitionId=2&branchName=master
7-
:alt: Azure Pipeline
5+
.. image:: https://github.com/crate/crate-python/workflows/Tests/badge.svg
6+
:target: https://github.com/crate/crate-python/actions?workflow=Tests
7+
:alt: Build status
8+
9+
.. image:: https://coveralls.io/repos/github/crate/crate-python/badge.svg?branch=master
10+
:target: https://coveralls.io/github/crate/crate-python?branch=master
11+
:alt: Coverage
12+
13+
.. image:: https://readthedocs.org/projects/crate-python/badge/
14+
:target: https://crate.io/docs/python/
15+
:alt: Build status (documentation)
816

917
.. image:: https://img.shields.io/pypi/v/crate.svg
10-
:target: https://pypi.python.org/pypi/crate/
11-
:alt: PyPI Version
18+
:target: https://pypi.org/project/crate/
19+
:alt: PyPI Version
1220

1321
.. image:: https://img.shields.io/pypi/pyversions/crate.svg
14-
:target: https://pypi.python.org/pypi/crate/
15-
:alt: Python Version
22+
:target: https://pypi.org/project/crate/
23+
:alt: Python Version
1624

1725
.. image:: https://img.shields.io/pypi/dw/crate.svg
18-
:target: https://pypi.python.org/pypi/crate/
26+
:target: https://pypi.org/project/crate/
1927
:alt: PyPI Downloads
2028

2129
.. image:: https://img.shields.io/pypi/wheel/crate.svg
22-
:target: https://pypi.python.org/pypi/crate/
30+
:target: https://pypi.org/project/crate/
2331
:alt: Wheel
2432

25-
.. image:: https://coveralls.io/repos/github/crate/crate-python/badge.svg?branch=master
26-
:target: https://coveralls.io/github/crate/crate-python?branch=master
27-
:alt: Coverage
33+
.. image:: https://img.shields.io/pypi/status/crate.svg
34+
:target: https://pypi.org/project/crate/
35+
:alt: Status
36+
37+
.. image:: https://img.shields.io/pypi/l/crate.svg
38+
:target: https://pypi.org/project/crate/
39+
:alt: License
40+
2841

2942
|
3043

0 commit comments

Comments
 (0)