Skip to content

Commit d2c22ec

Browse files
Merge pull request #42 from mdsol/feature/remove-travis
Remove Travis CI & Prep for release
2 parents d11f814 + afc79f7 commit d2c22ec

File tree

5 files changed

+32
-49
lines changed

5 files changed

+32
-49
lines changed

.github/workflows/check.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ on:
66

77
jobs:
88
lint:
9-
name: Lint
9+
name: 🧹 Lint
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
1313
- name: Install poetry
1414
run: pipx install poetry==1.4.2
15-
- name: Set up Python 3.10
15+
- name: Set up Python 3.11
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.11"
1919
cache: 'poetry'
2020
- name: Install dependencies
2121
run: poetry install --no-interaction
2222
- run: poetry run flake8
2323

2424
test:
25-
name: ${{ matrix.os }} / ${{ matrix.python-version }}
25+
name: 🧪 ${{ matrix.os }} / ${{ matrix.python-version }}
2626
runs-on: ${{ matrix.image }}
2727
strategy:
2828
matrix:

.github/workflows/release.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release
2+
on:
3+
release:
4+
types:
5+
- released
6+
7+
jobs:
8+
publish:
9+
name: 📦 Publish
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Install poetry
14+
run: pipx install poetry==1.4.2
15+
- name: Set up Python 3.11
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.11"
19+
cache: 'poetry'
20+
- name: Publish
21+
env:
22+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
23+
run: |
24+
poetry publish --build

.travis.yml

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

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.5.0
2+
- Replace `cchardet` with `charset-normalizer` to support Python 3.11
3+
14
# 1.4.0
25
- Add `MAuthWSGIMiddleware` for authenticating requests in WSGI frameworks like Flask.
36
- Remove `FlaskAuthenticator`.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mauth-client"
3-
version = "1.4.0"
3+
version = "1.5.0"
44
description = "MAuth Client for Python"
55
repository = "https://github.com/mdsol/mauth-client-python"
66
authors = ["Medidata Solutions <support@mdsol.com>"]

0 commit comments

Comments
 (0)