Skip to content

Scheduled Tests

Scheduled Tests #234

Workflow file for this run

name: Scheduled Tests
on:
schedule:
- cron: "14 14 * * *"
jobs:
linux-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python $ # Set Python version
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Generate cert
run: mkdir .lib && openssl req -newkey rsa:4096 -nodes -keyout .lib/selfsigned.key -x509 -days 36500 -out .lib/selfsigned.cert -subj "/C=US/ST=NRW/L=Earth/O=CompanyName/OU=IT/CN=localhost/[email protected]"
- name: Test with pytest
run: python -m pytest lotordb/test