Skip to content

Commit 51abeb2

Browse files
committed
ci: only run failing cases (drop me)
1 parent 428a5ae commit 51abeb2

File tree

2 files changed

+140
-140
lines changed

2 files changed

+140
-140
lines changed

.github/workflows/CI.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -38,59 +38,59 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
version:
42-
- "1.10"
43-
- "1.11"
44-
# - 'nightly'
45-
os:
46-
- ubuntu-24.04
47-
# `ubuntu-22.04-arm` is considered more stable than `ubuntu-24.04-arm`:
48-
# <https://github.com/orgs/community/discussions/148648#discussioncomment-12099554>.
49-
- ubuntu-22.04-arm
50-
# Disable `macOS-13` until
51-
# <https://github.com/EnzymeAD/Reactant.jl/issues/867> is resolved.
52-
# - macOS-13
53-
- macOS-latest
54-
test_group:
55-
- core
56-
- neural_networks
57-
- integration
58-
runtime:
59-
- "PJRT"
60-
- "IFRT"
61-
assertions:
62-
- false
41+
# version:
42+
# - "1.10"
43+
# - "1.11"
44+
# # - 'nightly'
45+
# os:
46+
# - ubuntu-24.04
47+
# # `ubuntu-22.04-arm` is considered more stable than `ubuntu-24.04-arm`:
48+
# # <https://github.com/orgs/community/discussions/148648#discussioncomment-12099554>.
49+
# - ubuntu-22.04-arm
50+
# # Disable `macOS-13` until
51+
# # <https://github.com/EnzymeAD/Reactant.jl/issues/867> is resolved.
52+
# # - macOS-13
53+
# - macOS-latest
54+
# test_group:
55+
# - core
56+
# - neural_networks
57+
# - integration
58+
# runtime:
59+
# - "PJRT"
60+
# - "IFRT"
61+
# assertions:
62+
# - false
6363
include:
64-
- os: linux-x86-ct6e-180-4tpu
65-
version: "1.11"
66-
assertions: false
67-
test_group: core
68-
runtime: "IFRT"
69-
- os: linux-x86-ct6e-180-4tpu
70-
version: "1.11"
71-
assertions: false
72-
test_group: integration
73-
runtime: "IFRT"
64+
# - os: linux-x86-ct6e-180-4tpu
65+
# version: "1.11"
66+
# assertions: false
67+
# test_group: core
68+
# runtime: "IFRT"
69+
# - os: linux-x86-ct6e-180-4tpu
70+
# version: "1.11"
71+
# assertions: false
72+
# test_group: integration
73+
# runtime: "IFRT"
7474
- os: linux-x86-ct6e-180-4tpu
7575
version: "1.11"
7676
assertions: false
7777
test_group: neural_networks
7878
runtime: "IFRT"
79-
- os: ubuntu-24.04
80-
version: "1.10"
81-
assertions: true
82-
test_group: core
83-
runtime: "PJRT"
84-
- os: ubuntu-24.04
85-
version: "1.10"
86-
assertions: true
87-
test_group: neural_networks
88-
runtime: "PJRT"
89-
- os: ubuntu-24.04
90-
version: "1.10"
91-
assertions: true
92-
test_group: integration
93-
runtime: "PJRT"
79+
# - os: ubuntu-24.04
80+
# version: "1.10"
81+
# assertions: true
82+
# test_group: core
83+
# runtime: "PJRT"
84+
# - os: ubuntu-24.04
85+
# version: "1.10"
86+
# assertions: true
87+
# test_group: neural_networks
88+
# runtime: "PJRT"
89+
# - os: ubuntu-24.04
90+
# version: "1.10"
91+
# assertions: true
92+
# test_group: integration
93+
# runtime: "PJRT"
9494
# - os: ubuntu-24.04
9595
# libReactant: packaged
9696
# version: '1.10'

.github/workflows/downgrade.yml

Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,96 +1,96 @@
1-
name: Downgrade
1+
# name: Downgrade
22

3-
on:
4-
pull_request:
5-
branches:
6-
- main
7-
paths:
8-
- '.github/workflows/downgrade.yml'
9-
- 'ext/**'
10-
- 'lib/**'
11-
- 'src/**'
12-
- 'Project.toml'
13-
push:
14-
branches:
15-
- main
16-
paths:
17-
- '.github/workflows/downgrade.yml'
18-
- 'ext/**'
19-
- 'lib/**'
20-
- 'src/**'
21-
- 'Project.toml'
3+
# on:
4+
# pull_request:
5+
# branches:
6+
# - main
7+
# paths:
8+
# - '.github/workflows/downgrade.yml'
9+
# - 'ext/**'
10+
# - 'lib/**'
11+
# - 'src/**'
12+
# - 'Project.toml'
13+
# push:
14+
# branches:
15+
# - main
16+
# paths:
17+
# - '.github/workflows/downgrade.yml'
18+
# - 'ext/**'
19+
# - 'lib/**'
20+
# - 'src/**'
21+
# - 'Project.toml'
2222

23-
concurrency:
24-
# Skip intermediate builds: always.
25-
# Cancel intermediate builds: only if it is a pull request build.
26-
group: ${{ github.workflow }}-${{ github.ref }}
27-
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
23+
# concurrency:
24+
# # Skip intermediate builds: always.
25+
# # Cancel intermediate builds: only if it is a pull request build.
26+
# group: ${{ github.workflow }}-${{ github.ref }}
27+
# cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
2828

29-
jobs:
30-
downgrade:
31-
# if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }}
32-
timeout-minutes: 90
33-
runs-on: ubuntu-latest
34-
strategy:
35-
fail-fast: false
36-
matrix:
37-
test_group:
38-
- core
39-
- neural_networks
40-
- integration
41-
runtime:
42-
- PJRT
43-
- IFRT
44-
env:
45-
TMPDIR: ${{ github.workspace }}/tmp
46-
steps:
47-
- uses: actions/checkout@v4
48-
- name: Create TMPDIR
49-
run: |
50-
mkdir -p ${{ env.TMPDIR }}
51-
- uses: julia-actions/setup-julia@v2
52-
with:
53-
version: "1.10"
54-
- uses: julia-actions/cache@v2
55-
- uses: julia-actions/julia-downgrade-compat@v2
56-
with:
57-
skip: "ReactantCore"
58-
- name: "Setup Runtime Preferences"
59-
uses: "DamianReeves/write-file-action@master"
60-
with:
61-
path: "LocalPreferences.toml"
62-
write-mode: "overwrite"
63-
contents: |
64-
[Reactant]
65-
xla_runtime = "${{ matrix.runtime }}"
66-
- name: "Install Dependencies and Run Tests"
67-
run: |
68-
import Pkg
69-
Pkg.Registry.update()
70-
# Install packages present in subdirectories
71-
dev_pks = Pkg.PackageSpec[]
72-
for path in ("lib/ReactantCore",)
73-
push!(dev_pks, Pkg.PackageSpec(; path))
74-
end
75-
Pkg.develop(dev_pks)
76-
Pkg.test(; coverage="user")
77-
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
78-
id: run_tests
79-
env:
80-
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
81-
REACTANT_TEST_GROUP: ${{ matrix.test_group }}
82-
XLA_FLAGS: "--xla_force_host_platform_device_count=12"
83-
JULIA_DEBUG: "Reactant,Reactant_jll"
84-
- name: Upload MLIR modules
85-
uses: actions/upload-artifact@v4
86-
timeout-minutes: 10
87-
if: ${{ always() }}
88-
with:
89-
name: "mlir-downgrade-${{ matrix.test_group }}-${{ matrix.runtime }}-${{ github.event_name }}"
90-
path: "**/*.mlir"
91-
retention-days: 90
92-
overwrite: false
93-
- uses: julia-actions/julia-processcoverage@v1
94-
- uses: codecov/codecov-action@v5
95-
with:
96-
files: lcov.info
29+
# jobs:
30+
# downgrade:
31+
# # if: ${{ !contains(github.event.head_commit.message, '[skip tests]') && github.base_ref == github.event.repository.default_branch }}
32+
# timeout-minutes: 90
33+
# runs-on: ubuntu-latest
34+
# strategy:
35+
# fail-fast: false
36+
# matrix:
37+
# test_group:
38+
# - core
39+
# - neural_networks
40+
# - integration
41+
# runtime:
42+
# - PJRT
43+
# - IFRT
44+
# env:
45+
# TMPDIR: ${{ github.workspace }}/tmp
46+
# steps:
47+
# - uses: actions/checkout@v4
48+
# - name: Create TMPDIR
49+
# run: |
50+
# mkdir -p ${{ env.TMPDIR }}
51+
# - uses: julia-actions/setup-julia@v2
52+
# with:
53+
# version: "1.10"
54+
# - uses: julia-actions/cache@v2
55+
# - uses: julia-actions/julia-downgrade-compat@v2
56+
# with:
57+
# skip: "ReactantCore"
58+
# - name: "Setup Runtime Preferences"
59+
# uses: "DamianReeves/write-file-action@master"
60+
# with:
61+
# path: "LocalPreferences.toml"
62+
# write-mode: "overwrite"
63+
# contents: |
64+
# [Reactant]
65+
# xla_runtime = "${{ matrix.runtime }}"
66+
# - name: "Install Dependencies and Run Tests"
67+
# run: |
68+
# import Pkg
69+
# Pkg.Registry.update()
70+
# # Install packages present in subdirectories
71+
# dev_pks = Pkg.PackageSpec[]
72+
# for path in ("lib/ReactantCore",)
73+
# push!(dev_pks, Pkg.PackageSpec(; path))
74+
# end
75+
# Pkg.develop(dev_pks)
76+
# Pkg.test(; coverage="user")
77+
# shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
78+
# id: run_tests
79+
# env:
80+
# JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
81+
# REACTANT_TEST_GROUP: ${{ matrix.test_group }}
82+
# XLA_FLAGS: "--xla_force_host_platform_device_count=12"
83+
# JULIA_DEBUG: "Reactant,Reactant_jll"
84+
# - name: Upload MLIR modules
85+
# uses: actions/upload-artifact@v4
86+
# timeout-minutes: 10
87+
# if: ${{ always() }}
88+
# with:
89+
# name: "mlir-downgrade-${{ matrix.test_group }}-${{ matrix.runtime }}-${{ github.event_name }}"
90+
# path: "**/*.mlir"
91+
# retention-days: 90
92+
# overwrite: false
93+
# - uses: julia-actions/julia-processcoverage@v1
94+
# - uses: codecov/codecov-action@v5
95+
# with:
96+
# files: lcov.info

0 commit comments

Comments
 (0)