Skip to content

Commit 83a183e

Browse files
authored
Update CI.yml
1 parent 48fb626 commit 83a183e

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,9 @@
11
name: CI
22
on:
3-
push:
4-
branches:
5-
- master
6-
pull_request:
3+
- push
4+
- pull_request
75
jobs:
8-
pre_job:
9-
# continue-on-error: true # Uncomment once integration is finished
10-
runs-on: ubuntu-latest
11-
# Map a step output to a job output
12-
outputs:
13-
should_skip: ${{ steps.skip_check.outputs.should_skip }}
14-
steps:
15-
- id: skip_check
16-
uses: fkirc/skip-duplicate-actions@master
17-
with:
18-
# All of these options are optional, so you can remove them if you are happy with the defaults
19-
concurrent_skipping: 'never'
20-
skip_after_successful_duplicate: 'true'
21-
paths_ignore: '["**/README.md", "**/docs/**", "**/examples/**"]'
22-
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
23-
246
test:
25-
needs: pre_job
26-
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
277
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
288
runs-on: ${{ matrix.os }}
299
strategy:
@@ -53,25 +33,3 @@ jobs:
5333
${{ runner.os }}-
5434
- uses: julia-actions/julia-buildpkg@v1
5535
- uses: julia-actions/julia-runtest@v1
56-
- uses: julia-actions/julia-processcoverage@v1
57-
- uses: codecov/codecov-action@v1
58-
with:
59-
file: lcov.info
60-
61-
docs:
62-
name: Documentation
63-
runs-on: ubuntu-latest
64-
steps:
65-
- uses: actions/checkout@v2
66-
- uses: julia-actions/setup-julia@v1
67-
with:
68-
version: '1'
69-
- run: |
70-
julia --project=docs -e '
71-
using Pkg
72-
Pkg.develop(PackageSpec(path=pwd()))
73-
Pkg.instantiate()'
74-
- run: julia --project=docs docs/make.jl
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)