|
4 | 4 | - pull_request
|
5 | 5 | - release
|
6 | 6 | jobs:
|
7 |
| - test: |
8 |
| - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} |
9 |
| - runs-on: ${{ matrix.os }} |
10 |
| - strategy: |
11 |
| - matrix: |
12 |
| - version: |
13 |
| - - '1.6' |
14 |
| - - '1' |
15 |
| - - 'nightly' |
16 |
| - os: |
17 |
| - - ubuntu-latest |
18 |
| - - macOS-latest |
19 |
| - - windows-latest |
20 |
| - arch: |
21 |
| - - x64 |
22 |
| - fail-fast: false |
23 |
| - steps: |
24 |
| - - uses: actions/checkout@v2 |
25 |
| - - uses: julia-actions/setup-julia@v1 |
26 |
| - with: |
27 |
| - version: ${{ matrix.version }} |
28 |
| - arch: ${{ matrix.arch }} |
29 |
| - - uses: actions/cache@v1 |
30 |
| - env: |
31 |
| - cache-name: cache-artifacts |
32 |
| - with: |
33 |
| - path: ~/.julia/artifacts |
34 |
| - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} |
35 |
| - restore-keys: | |
36 |
| - ${{ runner.os }}-test-${{ env.cache-name }}- |
37 |
| - ${{ runner.os }}-test- |
38 |
| - ${{ runner.os }}- |
39 |
| - - uses: julia-actions/julia-buildpkg@latest |
40 |
| - - uses: julia-actions/julia-runtest@latest |
41 |
| - - uses: julia-actions/julia-processcoverage@v1 |
42 |
| - - uses: codecov/codecov-action@v1 |
43 |
| - with: |
44 |
| - file: lcov.info |
45 |
| - env: |
46 |
| - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
47 |
| - # don't run ci twice on my own PRs |
48 |
| - if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} |
49 |
| - |
50 |
| - docs: |
51 |
| - name: Documentation |
| 7 | + foo: |
52 | 8 | runs-on: ubuntu-latest
|
53 | 9 | steps:
|
54 |
| - - uses: actions/checkout@v2 |
55 |
| - - uses: julia-actions/setup-julia@v1 |
56 |
| - with: |
57 |
| - version: '1' |
58 | 10 | - run: |
|
59 |
| - julia --project=docs -e ' |
60 |
| - using Pkg |
61 |
| - Pkg.instantiate()' |
62 |
| - - run: julia --project=docs docs/make.jl |
| 11 | + export out=$(gh gist create foo) |
| 12 | + gh gist delete $(echo $out | tail -n1) |
63 | 13 | env:
|
64 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
65 |
| - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
66 |
| - # don't run ci twice on my own PRs |
67 |
| - if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} |
| 14 | + GITHUB_TOKEN: ${{ secrets.GIST_TESTING_TOKEN }} |
| 15 | + # test: |
| 16 | + # name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} |
| 17 | + # runs-on: ${{ matrix.os }} |
| 18 | + # strategy: |
| 19 | + # matrix: |
| 20 | + # version: |
| 21 | + # - '1.6' |
| 22 | + # - '1' |
| 23 | + # - 'nightly' |
| 24 | + # os: |
| 25 | + # - ubuntu-latest |
| 26 | + # - macOS-latest |
| 27 | + # - windows-latest |
| 28 | + # arch: |
| 29 | + # - x64 |
| 30 | + # fail-fast: false |
| 31 | + # steps: |
| 32 | + # - uses: actions/checkout@v2 |
| 33 | + # - uses: julia-actions/setup-julia@v1 |
| 34 | + # with: |
| 35 | + # version: ${{ matrix.version }} |
| 36 | + # arch: ${{ matrix.arch }} |
| 37 | + # - uses: actions/cache@v1 |
| 38 | + # env: |
| 39 | + # cache-name: cache-artifacts |
| 40 | + # with: |
| 41 | + # path: ~/.julia/artifacts |
| 42 | + # key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} |
| 43 | + # restore-keys: | |
| 44 | + # ${{ runner.os }}-test-${{ env.cache-name }}- |
| 45 | + # ${{ runner.os }}-test- |
| 46 | + # ${{ runner.os }}- |
| 47 | + # - uses: julia-actions/julia-buildpkg@latest |
| 48 | + # - uses: julia-actions/julia-runtest@latest |
| 49 | + # - uses: julia-actions/julia-processcoverage@v1 |
| 50 | + # - uses: codecov/codecov-action@v1 |
| 51 | + # with: |
| 52 | + # file: lcov.info |
| 53 | + # env: |
| 54 | + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
| 55 | + # # don't run ci twice on my own PRs |
| 56 | + # if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} |
| 57 | + # |
| 58 | + # docs: |
| 59 | + # name: Documentation |
| 60 | + # runs-on: ubuntu-latest |
| 61 | + # steps: |
| 62 | + # - uses: actions/checkout@v2 |
| 63 | + # - uses: julia-actions/setup-julia@v1 |
| 64 | + # with: |
| 65 | + # version: '1' |
| 66 | + # - run: | |
| 67 | + # julia --project=docs -e ' |
| 68 | + # using Pkg |
| 69 | + # Pkg.instantiate()' |
| 70 | + # - run: julia --project=docs docs/make.jl |
| 71 | + # env: |
| 72 | + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 73 | + # DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
| 74 | + # # don't run ci twice on my own PRs |
| 75 | + # if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }} |
0 commit comments