Skip to content

Commit cacb4b6

Browse files
authored
update ci to include python 3.12 in tests (#451)
2 parents 3914bb6 + 9bd18d1 commit cacb4b6

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
name: CI/CD
22

3-
on: [pull_request, push, workflow_dispatch]
3+
on:
4+
push:
5+
paths-ignore:
6+
- '.github/**'
7+
- '.devcontainer/**'
8+
- 'CHANGELOG.md'
9+
- 'MAINTAINERS.md'
10+
branches:
11+
- main
12+
pull_request:
13+
workflow_dispatch:
414

515
jobs:
616
test:
717
name: Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
818
strategy:
919
matrix:
1020
os: [ubuntu-latest]
11-
python-version: [3.8, 3.9, "3.10", "3.11"]
21+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
1222
runs-on: ${{ matrix.os }}
1323
steps:
1424
- name: Clone Repository
@@ -31,7 +41,7 @@ jobs:
3141
make tests_only
3242
publish:
3343
needs: test
34-
if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase-community' }}
44+
if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name) && github.repository_owner == 'supabase-community' }}
3545
runs-on: ubuntu-latest
3646
name: "Bump version, create changelog and publish"
3747
environment:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
]
2626

2727
- repo: https://github.com/myint/autoflake.git
28-
rev: v1.4
28+
rev: v2.2.1
2929
hooks:
3030
- id: autoflake
3131
args:

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[tool.poetry]
22
name = "gotrue"
33
version = "2.4.1"
4-
description = "Python Client Library for GoTrue"
4+
description = "Python Client Library for Supabase Auth"
55
authors = ["Joel Lee <[email protected]>"]
6-
homepage = "https://github.com/supabase-community/gotrue-py"
7-
repository = "https://github.com/supabase-community/gotrue-py"
8-
documentation = "https://github.com/supabase-community/gotrue-py"
6+
homepage = "https://github.com/supabase-community/auth-py"
7+
repository = "https://github.com/supabase-community/auth-py"
8+
documentation = "https://github.com/supabase-community/auth-py"
99
readme = "README.md"
1010
license = "MIT"
1111
classifiers = [

0 commit comments

Comments
 (0)