-
Notifications
You must be signed in to change notification settings - Fork 6
31 lines (26 loc) · 875 Bytes
/
check-xfail.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
name: Check xfail
on:
pull_request:
jobs:
xfail:
runs-on: ubuntu-latest
strategy:
matrix:
julia-version: ['^1']
fail-fast: false
name: Test xfail Julia ${{ matrix.julia-version }}
steps:
- uses: actions/checkout@v2
- uses: tkf/merge-xfail-branch@v1
id: merge-xfail-branch
- name: Setup julia
if: ${{ steps.merge-xfail-branch.outputs.need_xfail == 'yes' }}
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
- run: julia -e 'using Pkg; pkg"add Run@0.1"'
if: ${{ steps.merge-xfail-branch.outputs.need_xfail == 'yes' }}
- run: julia -e 'using Run; Run.test(project = "test/environments/main", xfail = true)'
if: ${{ steps.merge-xfail-branch.outputs.need_xfail == 'yes' }}
env:
JULIA_NUM_THREADS: '2'