Skip to content

Commit

Permalink
update ci to include python 3.12 in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks committed Mar 24, 2024
1 parent 3914bb6 commit 2350d43
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
@@ -1,14 +1,24 @@
name: CI/CD

on: [pull_request, push, workflow_dispatch]
on:
push:
paths-ignore:
- '.github/**'
- '.devcontainer/**'
- 'CHANGELOG.md'
- 'MAINTAINERS.md'
branches:
- main
pull_request:
workflow_dispatch:

jobs:
test:
name: Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- name: Clone Repository
Expand All @@ -31,7 +41,7 @@ jobs:
make tests_only
publish:
needs: test
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' }}
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' }}
runs-on: ubuntu-latest
name: "Bump version, create changelog and publish"
environment:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -25,7 +25,7 @@ repos:
]

- repo: https://github.com/myint/autoflake.git
rev: v1.4
rev: v2.2.1
hooks:
- id: autoflake
args:
Expand Down

0 comments on commit 2350d43

Please sign in to comment.