0.7.23 #23
This file contains 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: Flask-FS2 CI | |
on: [push, pull_request] | |
jobs: | |
ci: | |
name: Test with different versions of Python π | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.version }} | |
cache: pip | |
- name: Upgrade pip π¦ | |
run: >- | |
python -m pip install --upgrade pip setuptools | |
- name: Install packages π¦ | |
run: >- | |
python -m pip install .[ci] | |
- name: Install flask-mongoengine from git π¦ | |
run: >- | |
python -m pip install | |
"flask-mongoengine @ git+https://github.com/idoshr/flask-mongoengine.git@json_encoder" | |
- name: Launch dockers π³ | |
run: >- | |
docker-compose up -d | |
- name: Run tests π§ͺ | |
run: >- | |
inv cover qa | |
- name: Show coverage report π | |
run: >- | |
coveralls --rcfile=coverage.rc | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |