Skip to content

fix: support http2 upgrade requests #27

fix: support http2 upgrade requests

fix: support http2 upgrade requests #27

Workflow file for this run

name: verify
on:
workflow_dispatch:
push:
# job ideas taken from here: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint with Ruff
run: ruff check --output-format=github .
continue-on-error: false
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: python -m unittest
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
slackNotificaton:
if: failure()
needs: [lint, test, build]
uses: ./.github/workflows/slack-notification.yaml
with:
channel: '#dada-prime'
job_status: 'failure'
secrets: inherit