Merge pull request #891 from nicozanf/master #726
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: master-test | |
on: | |
push: | |
branches: | |
- master | |
- ombott-dev | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "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 Everything | |
run: | | |
sudo apt-get install memcached libmemcached-tools | |
python -m pip install --upgrade pip | |
ls -l | |
python -m pip install -e ./ | |
python -m pip install -r test-requirements.txt | |
- name: Test | |
run: | | |
python3 -m pytest --cov=py4web --cov-report html:cov.html -v -s tests/ |