diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9a5c6b..2887956 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,6 +5,8 @@ on: branches: [ "master" ] pull_request: branches: [ "master", "dev" ] + schedule: + - cron: '0 9 * * MON' permissions: contents: read @@ -19,11 +21,15 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v3 with: - python-version: "3.10" + python-version: "3.10" # try to keep similar to Colab - - name: Install dependencies + - name: Setup environment similar to Colab run: | python -m pip install --upgrade pip + wget https://raw.githubusercontent.com/googlecolab/backend-info/main/pip-freeze.txt -O colab-freeze.txt + cat colab-freeze.txt | xargs -n 1 pip install # 1-at-a-time ⇒ ignore errors + - name: Install dependencies + run: | pip install -r requirements-dev.txt - name: Run tests run: |