Skip to content

Dockerfile to containerize the app #12

Dockerfile to containerize the app

Dockerfile to containerize the app #12

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pip install poetry==1.4.2
- name: Install dependencies
run: |
poetry install
- name: Run Flake8
run: |
poetry run flake8 --max-line-length=120 mentor_mingle
- name: Run Tests
run: |
poetry run pytest