Skip to content

Commit 6919b88

Browse files
committed
[Do Not Merge] Run Julia Base Tests
This is just to see what the current state here is, since I didn't feel like running this on my Laptop.
1 parent 19757b4 commit 6919b88

File tree

3 files changed

+11
-36
lines changed

3 files changed

+11
-36
lines changed

.github/workflows/CI.yml renamed to .github/workflows/BaseTests.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
name: CI
1+
name: Run Julia Base Tests
22
on:
33
pull_request:
4-
push:
5-
branches:
6-
- master
7-
tags: '*'
84
jobs:
95
test:
106
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,13 +9,9 @@ jobs:
139
fail-fast: false
1410
matrix:
1511
version:
16-
- '1.0'
17-
- '1'
1812
- 'nightly'
1913
os:
2014
- ubuntu-latest
21-
- macOS-latest
22-
- windows-latest
2315
arch:
2416
- x64
2517
env:
@@ -41,8 +33,6 @@ jobs:
4133
${{ runner.os }}-test-
4234
${{ runner.os }}-
4335
- uses: julia-actions/julia-buildpkg@v1
44-
- uses: julia-actions/julia-runtest@v1
45-
- uses: julia-actions/julia-processcoverage@v1
46-
- uses: codecov/codecov-action@v1
47-
with:
48-
file: lcov.info
36+
- name: Test Julia Base
37+
run: |
38+
julia --project test/juliatests.jl

.github/workflows/Documenter.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

test/juliatests.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ end
99

1010
const juliadir = dirname(dirname(Sys.BINDIR))
1111
const testdir = joinpath(juliadir, "test")
12-
if isdir(testdir)
13-
include(joinpath(testdir, "choosetests.jl"))
14-
else
15-
@error "Julia's test/ directory not found, can't run Julia tests"
12+
if !isdir(testdir)
13+
run(`git clone https://github.com/JuliaLang/julia.git`)
14+
cd("julia") do
15+
run(`git checkout $(Base.GIT_VERSION_INFO.commit)`)
16+
run(`cp -r test $testdir`)
17+
end
1618
end
19+
include(joinpath(testdir, "choosetests.jl"))
1720

1821
function test_path(test)
1922
t = split(test, '/')

0 commit comments

Comments
 (0)