Skip to content

Commit

Permalink
Merge branch 'potel-base' into antonpirker/potel/openai
Browse files Browse the repository at this point in the history
  • Loading branch information
antonpirker authored Dec 5, 2024
2 parents 2b8df7a + abd4baa commit 527c693
Show file tree
Hide file tree
Showing 162 changed files with 4,015 additions and 3,110 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand All @@ -39,7 +39,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand All @@ -54,7 +54,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/[email protected].1
uses: actions/[email protected].2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
name: "Release a new version"
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
token: ${{ secrets.GH_RELEASE_PAT }}
fetch-depth: 0
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-integrations-ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ["3.7","3.9","3.11","3.12","3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -89,10 +89,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7","3.9","3.11","3.12","3.13"]
python-version: ["3.8","3.9","3.11","3.12","3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -145,7 +145,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All AI tests passed
name: All pinned AI tests passed
needs: test-ai-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Do not edit this file. This file is generated automatically by executing
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
name: Test AWS Lambda
name: Test AWS
on:
push:
branches:
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
name: permissions check
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
persist-credentials: false
- name: Check permissions on PR
Expand All @@ -52,8 +52,8 @@ jobs:
- name: Check permissions on repo branch
if: github.event_name == 'push'
run: true
test-aws_lambda-pinned:
name: AWS Lambda (pinned)
test-aws-pinned:
name: AWS (pinned)
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -63,7 +63,7 @@ jobs:
os: [ubuntu-latest]
needs: check-permissions
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: actions/setup-python@v5
Expand All @@ -87,7 +87,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -102,13 +102,13 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All AWS Lambda tests passed
needs: test-aws_lambda-pinned
name: All pinned AWS tests passed
needs: test-aws-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.test-aws_lambda-pinned.result, 'failure') || contains(needs.test-aws_lambda-pinned.result, 'skipped')
if: contains(needs.test-aws-pinned.result, 'failure') || contains(needs.test-aws-pinned.result, 'skipped')
run: |
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Do not edit this file. This file is generated automatically by executing
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
name: Test Cloud Computing
name: Test Cloud
on:
push:
branches:
Expand All @@ -20,8 +20,8 @@ env:
CACHED_BUILD_PATHS: |
${{ github.workspace }}/dist-serverless
jobs:
test-cloud_computing-latest:
name: Cloud Computing (latest)
test-cloud-latest:
name: Cloud (latest)
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -30,7 +30,7 @@ jobs:
python-version: ["3.8","3.11","3.12","3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -78,8 +78,8 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: .junitxml
verbose: true
test-cloud_computing-pinned:
name: Cloud Computing (pinned)
test-cloud-pinned:
name: Cloud (pinned)
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -88,7 +88,7 @@ jobs:
python-version: ["3.7","3.9","3.11","3.12","3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -137,13 +137,13 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Cloud Computing tests passed
needs: test-cloud_computing-pinned
name: All pinned Cloud tests passed
needs: test-cloud-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.test-cloud_computing-pinned.result, 'failure') || contains(needs.test-cloud_computing-pinned.result, 'skipped')
if: contains(needs.test-cloud-pinned.result, 'failure') || contains(needs.test-cloud-pinned.result, 'skipped')
run: |
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
6 changes: 3 additions & 3 deletions .github/workflows/test-integrations-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python-version: ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
os: [ubuntu-latest]
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -52,7 +52,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -67,7 +67,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Common tests passed
name: All pinned Common tests passed
needs: test-common-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Do not edit this file. This file is generated automatically by executing
# python scripts/split-tox-gh-actions/split-tox-gh-actions.py
name: Test Databases
name: Test DBs
on:
push:
branches:
Expand All @@ -20,8 +20,8 @@ env:
CACHED_BUILD_PATHS: |
${{ github.workspace }}/dist-serverless
jobs:
test-databases-latest:
name: Databases (latest)
test-dbs-latest:
name: DBs (latest)
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -48,12 +48,12 @@ jobs:
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: getsentry/action-clickhouse-in-ci@v1
- uses: getsentry/action-clickhouse-in-ci@v1.1
- name: Setup Test Env
run: |
pip install "coverage[toml]" tox
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -105,8 +105,8 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: .junitxml
verbose: true
test-databases-pinned:
name: Databases (pinned)
test-dbs-pinned:
name: DBs (pinned)
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -133,12 +133,12 @@ jobs:
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
steps:
- uses: actions/[email protected].1
- uses: actions/[email protected].2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: getsentry/action-clickhouse-in-ci@v1
- uses: getsentry/action-clickhouse-in-ci@v1.1
- name: Setup Test Env
run: |
pip install "coverage[toml]" tox
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
coverage xml
- name: Upload coverage to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4.6.0
uses: codecov/codecov-action@v5.0.7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
Expand All @@ -191,13 +191,13 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Databases tests passed
needs: test-databases-pinned
name: All pinned DBs tests passed
needs: test-dbs-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
steps:
- name: Check for failures
if: contains(needs.test-databases-pinned.result, 'failure') || contains(needs.test-databases-pinned.result, 'skipped')
if: contains(needs.test-dbs-pinned.result, 'failure') || contains(needs.test-dbs-pinned.result, 'skipped')
run: |
echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
Loading

0 comments on commit 527c693

Please sign in to comment.