Added deployment requirements to production environment including docker #7
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: Django tox and coverage tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: | |
python -m pip install --upgrade pip | |
pip install tox==4.14.2 | |
- name: Run tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py | |
# - name: Install coverage and any other packages | |
# run: pip install coverage==7.4.3 Django==5.0.1 | |
# - name: Test with django test cases | |
# run: | | |
# coverage run ml_project/manage.py test ml_app | |
# - name: Generate Coverage Report | |
# run: | | |
# coverage report -m | |