Remove MessageEvent.await_with_auto_ack()
(#9)
#35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
env: | |
DEFAULT_PYTHON_VERSION: "3.12" | |
jobs: | |
check-types: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.DEFAULT_PYTHON_VERSION}} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/pip | |
~/.cache/pypoetry | |
key: check-types-${{ hashFiles('pyproject.toml') }} | |
- run: pip install -U poetry | |
- uses: extractions/setup-just@v2 | |
- run: just install check-types | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.DEFAULT_PYTHON_VERSION}} | |
- run: pip install -U poetry | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/pip | |
~/.cache/pypoetry | |
key: lint-${{ hashFiles('pyproject.toml') }} | |
- uses: extractions/setup-just@v2 | |
- run: just install lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/pip | |
~/.cache/pypoetry | |
key: ${{ github.job }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }} | |
- run: pip install -U poetry | |
- uses: extractions/setup-just@v2 | |
- run: just install test -vv | |
test-integration: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: extractions/setup-just@v2 | |
- run: just test-integration | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} |