Skip to content

Weekly Test Action (periodic verification everything works) #35

Weekly Test Action (periodic verification everything works)

Weekly Test Action (periodic verification everything works) #35

Workflow file for this run

name: Weekly Test Action (periodic verification everything works)
on:
schedule:
- cron: '30 17 * * 1'
jobs:
tests:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
platform: [ubuntu-latest, macos-12, macos-13]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Configure ULTERA MongoDB Access
run: echo "$PYQALLOYSTATICCONFIG" > pyqalloy/credentials.json
shell: bash
env:
PYQALLOYSTATICCONFIG: ${{secrets.PYQALLOYSTATICCONFIG}}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flask pytest
python -m pip install -e .
- name: Test with pytest
run: |
pytest