Skip to content

Only run on ubuntu-latest #4

Only run on ubuntu-latest

Only run on ubuntu-latest #4

Workflow file for this run

name: flask-restful
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.12'
- 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)"