Skip to content

Regular Integration Tests #2

Regular Integration Tests

Regular Integration Tests #2

Workflow file for this run

name: Regular Integration Tests
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 */7 * *'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install poetry 2.1.1
run: |
python -m ensurepip
python -m pip install --upgrade pip
python -m pip install poetry==2.1.1
- name: Install dependencies
shell: bash
run: python -m poetry install
- name: Test with pytest
env:
USERNAME: ${{ secrets.PICNIC_USERNAME }}
PASSWORD: ${{ secrets.PICNIC_PASSWORD }}
COUNTRY_CODE: ${{ secrets.PICNIC_COUNTRY_CODE }}
run: |
python -m poetry run python -m pytest -v integration_tests