mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-05-17 17:21:05 +00:00
updates version definitions + steps
This commit is contained in:
parent
258374400a
commit
38a876162f
3 changed files with 10 additions and 7 deletions
2
.github/workflows/deploy_docs.yml
vendored
2
.github/workflows/deploy_docs.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
- name: Restore docs environment
|
||||
run: |
|
||||
python dev.py --with-docs
|
||||
python dev.py -no-container --with-docs
|
||||
mkdocs build
|
||||
|
||||
- name: Commit documentation changes
|
||||
|
|
|
|||
10
.github/workflows/python-publish.yml
vendored
10
.github/workflows/python-publish.yml
vendored
|
|
@ -1,6 +1,3 @@
|
|||
# This workflows will upload a Python Package using Twine when a release is created
|
||||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
||||
|
||||
name: Upload Python Package to PyPI
|
||||
|
||||
on:
|
||||
|
|
@ -15,20 +12,23 @@ jobs:
|
|||
matrix:
|
||||
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
|
||||
django-version: ["3.0.*", "3.1.*", "3.2.*", "4.0.*"]
|
||||
django-version: [3.0, 3.1, 3.2, 4.0]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.2
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python dev.py -no-container
|
||||
pip install -q Django==${{ matrix.django-version }}
|
||||
python -m pip install --upgrade pip
|
||||
python setup.py install
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
python runtests.py
|
||||
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2.3.2
|
||||
run: |
|
||||
python dev.py --with-docs
|
||||
python dev.py -no-container --with-docs
|
||||
mkdocs build
|
||||
|
||||
- name: Commit documentation changes
|
||||
|
|
|
|||
5
.github/workflows/run-tests.yml
vendored
5
.github/workflows/run-tests.yml
vendored
|
|
@ -15,20 +15,23 @@ jobs:
|
|||
matrix:
|
||||
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
|
||||
django-version: ["3.0.*", "3.1.*", "3.2.*", "4.0.*"]
|
||||
django-version: [3.0, 3.1, 3.2, 4.0]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.2
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python dev.py -no-container
|
||||
pip install -q Django==${{ matrix.django-version }}
|
||||
python -m pip install --upgrade pip
|
||||
python setup.py install
|
||||
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
python runtests.py
|
||||
|
|
|
|||
Loading…
Reference in a new issue