Skip to content

Commit b6340b5

Browse files
committed
Tmate time
1 parent cea0413 commit b6340b5

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

.github/workflows/CI.yml

+9-18
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ concurrency:
3030

3131
jobs:
3232
test:
33-
timeout-minutes: 90
33+
# timeout-minutes: 90
3434
name: Julia ${{ matrix.version }} - ${{ matrix.test_group }} - ${{ matrix.os }} - assertions=${{ matrix.assertions }} - ${{ github.event_name }}
3535
runs-on: ${{ matrix.os }}
3636
strategy:
3737
fail-fast: false
3838
matrix:
3939
version:
40-
- '1.10'
40+
# - '1.10'
4141
- '1.11'
4242
# - 'nightly'
4343
os:
4444
- macOS-13
4545
test_group:
46-
- core
46+
# - core
4747
# - neural_networks
4848
- integration
4949
assertions:
@@ -82,19 +82,10 @@ jobs:
8282
if: ${{ matrix.version == '1.10' }}
8383
env:
8484
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
85-
- name: "Run Tests"
86-
timeout-minutes: 60
87-
run: |
88-
import Pkg
89-
Pkg.Registry.update()
90-
Pkg.test(; coverage="user")
91-
shell: julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
92-
id: run_tests
93-
env:
94-
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
95-
REACTANT_TEST_GROUP: ${{ matrix.test_group }}
96-
XLA_FLAGS: "--xla_force_host_platform_device_count=8"
97-
- uses: julia-actions/julia-processcoverage@v1
98-
- uses: codecov/codecov-action@v5
85+
- name: Setup tmate session
86+
uses: mxschmitt/action-tmate@v3
9987
with:
100-
files: lcov.info
88+
limit-access-to-actor: false
89+
# Debug with:
90+
# julia --color=yes --code-coverage=user --depwarn=yes --check-bounds=yes --warn-overwrite=yes --inline=yes --startup-file=no --project=test -e 'using Pkg; Pkg.instantiate()'
91+
# lldb -- julia --color=yes --code-coverage=user --depwarn=yes --check-bounds=yes --warn-overwrite=yes --inline=yes --startup-file=no --project=test test/integration/special_functions.jl

test/Project.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2"
2222
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
2323
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2424
Random123 = "74087812-796a-5b5d-8853-05524746bad3"
25+
Reactant = "3c362404-f566-11ee-1572-e11a4b42c853"
26+
ReactantCore = "a3311ec8-5e00-46d5-b541-4f83e724a433"
27+
Reactant_jll = "0192cb87-2b54-54ad-80e0-3be72ad8a3c0"
2528
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
2629
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2730
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
@@ -62,5 +65,6 @@ StatsBase = "0.34"
6265
Test = "1.10"
6366
TestSetExtensions = "3"
6467

65-
[extras]
66-
Reactant_jll = "0192cb87-2b54-54ad-80e0-3be72ad8a3c0"
68+
[sources]
69+
ReactantCore = {path = "../lib/ReactantCore"}
70+
Reactant = {path = ".."}

test/integration/special_functions.jl

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using Test
12
using SpecialFunctions, Reactant
23

34
macro (a, b)

0 commit comments

Comments
 (0)