Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
patnr committed Sep 15, 2023
1 parent cf5e714 commit b1d0dd9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master", "dev" ]
schedule:
- cron: '0 9 * * MON'

permissions:
contents: read
Expand All @@ -19,7 +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

# Takes too long to run (>40min)
# Could use docker instead? https://github.com/wsvn53/docker-colab-runtime-local
# - 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 | grep -v '^#' | xargs -n 1 pip install # 1-at-a-time ⇒ ignore errors

- name: Install dependencies
run: |
Expand Down

0 comments on commit b1d0dd9

Please sign in to comment.