django-markdownx/.github/workflows/run-tests.yml
dependabot[bot] edece7cdc4
Bump actions/checkout from 2.3.2 to 3.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.2 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.2...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 09:15:17 +00:00

44 lines
1,010 B
YAML

name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
python-version: [ 3.9, "3.10" ]
django-version: [ 3.1, 3.2, 4.0 ]
steps:
- name: Install system dependencies (windows)
if: matrix.os == 'windows-latest'
uses: msys2/setup-msys2@v2
with:
update: true
install: zlib
- uses: actions/checkout@v3.2.0
- 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