Bump pywavelets from 1.4.1 to 1.5.0 #590
Workflow file for this run
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 CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
CI_BUILD: 1 | |
DJANGO_SETTINGS_MODULE: audio_watermark_web_services.settings | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ['3.9', '3.10'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Specific Ubuntu Packages | |
run: sudo apt-get update && sudo apt-get install -y wget gcc python3-dev musl-dev postgresql-client ffmpeg libsndfile-dev libpng-dev | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements-lint.txt | |
python -m pip install -r requirements.txt | |
- name: Lint Source | |
run: | | |
pylint web_services/read_image.py | |
pylint web_services/embedder.py | |
- name: Lint Django | |
run: | | |
pylint --load-plugins pylint_django web_services/models.py | |
pylint --load-plugins pylint_django --load-plugins pylint_celery web_services/tasks.py | |
- name: Run Tests | |
run: python -m unittest web_services.test_embedder | |
- name: Run Tests | |
env: | |
SECRET_KEY: any-key-just-for-test | |
run: python manage.py test |