-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (42 loc) · 1.22 KB
/
interactive.yml
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
name: interactive
on:
workflow_dispatch:
env:
PTP_READ_TOKEN: ${{ secrets.PTP_READ_TOKEN }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- "1.x"
os:
- ubuntu-latest
arch:
- x64
env:
GKSwstype: 100 # disable Plots.jl interactive output
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: Set JULIA_NUM_THREADS=${{ steps.cpu-cores.outputs.count }}
run: echo "JULIA_NUM_THREADS=${{ steps.cpu-cores.outputs.count }}" >> $GITHUB_ENV
#============
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
- run: pip install nbconvert
#============
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
- run: make install_ci_add
- uses: julia-actions/julia-buildpkg@v1
#============
- name: Interactive with tmate
uses: mxschmitt/action-tmate@v3
timeout-minutes: 60