File size: 1,113 Bytes
50bfcf9
 
 
 
 
 
 
 
 
 
 
 
 
fa629f3
50bfcf9
 
 
 
d22211a
50bfcf9
def34fb
bedf085
50bfcf9
fa629f3
e7941a7
 
50bfcf9
3a1fd74
ab11754
360387d
ab11754
 
50bfcf9
6ac7ad5
50bfcf9
65159ce
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
name: Docker_Large_Nightly

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 }}
    continue-on-error: ${{ matrix.arch == 'linux/arm64' }}
    defaults:
      run:
        shell: bash
    strategy:
      fail-fast: false
      matrix:
        julia-version: ['1.6', '1']
        python-version: ['3.8', '3.12']
        os: [ubuntu-latest]
        arch: ['linux/amd64', 'linux/arm64']


    steps:
      - uses: actions/checkout@v4
      - name: Set up QEMU
        uses: docker/setup-qemu-action@v3
        with:
          platforms: all
      - name: Build docker
        run: docker build --platform=${{ matrix.arch }} -t pysr --build-arg JLVERSION=${{ matrix.julia-version }} --build-arg PYVERSION=${{ matrix.python-version }} .
      - name: Test docker
        run: docker run --platform=${{ matrix.arch }} --rm pysr /bin/bash -c 'pip install pytest nbval && python3 -m pysr test main,cli,startup'