MilesCranmer commited on
Commit
a34e0f3
·
1 Parent(s): ed0700f

Move old julia/old python tests to massive nightly job

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