Spaces:
Sleeping
Sleeping
File size: 1,412 Bytes
aa19284 a34e0f3 3fbfdc9 a34e0f3 eea7daa 000f989 a34e0f3 032049d a34e0f3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
name: large_nightly
# This CI only runs once per day, but tries
# many different configurations.
on:
schedule:
# Run at the 0th minute of the 10th hour (UTC).
# This means the job will run at 5am EST.
- cron: "0 10 * * *"
# This will automatically run on master branch only.
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
julia-version: ['1.5.0', '1.6.1', '1.7.1', 'nightly']
python-version: ['3.7', '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/[email protected]
- name: "Set up Julia"
uses: julia-actions/[email protected]
with:
version: ${{ matrix.julia-version }}
- name: "Change package server"
env:
JULIA_PKG_SERVER: ""
run: |
julia -e 'using Pkg; Pkg.Registry.add("General")'
- name: "Set up Python"
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: "Install PySR"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
python -c 'import pysr; pysr.install()'
- name: "Run tests"
run: python -m unittest test.test
|