Skip to content

Commit

Permalink
Add more extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Nov 27, 2023
1 parent 77faf09 commit d5a9253
Show file tree
Hide file tree
Showing 17 changed files with 557 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/flask-apispec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-apispec flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_apispec import use_kwargs, marshal_with"
33 changes: 33 additions & 0 deletions .github/workflows/flask-assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-assets flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_assets import Environment; Environment(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-babel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-babel flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_babel import Babel; Babel(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-caching.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-caching flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_caching import Cache; Cache(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-cors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-cors flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_cors import CORS; CORS(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-marshmallow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-marshmallow flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_marshmallow import Marshmallow; Marshmallow(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-migrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-migrate flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_migrate import Migrate; Migrate(app, db)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-moment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-moment flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_moment import Moment; Moment(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-rebar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-rebar flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_rebar import Rebar; Rebar()"
33 changes: 33 additions & 0 deletions .github/workflows/flask-restful.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-restful flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_restful import Api; api = Api(app)"
33 changes: 33 additions & 0 deletions .github/workflows/flask-restx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

workflow_dispatch:

jobs:
test:
strategy:
matrix:
python-versions: ['3.12']
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flask-restx flask
- name: Test initialization
run:
python -c "from flask import Flask; app = Flask(__name__); from flask_restx import Api; api = Api(app)"
Loading

0 comments on commit d5a9253

Please sign in to comment.