Skip to content

Commit 4cf47ee

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 4cf47ee

File tree

3 files changed

+9
-33
lines changed

3 files changed

+9
-33
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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ const testdir = joinpath(juliadir, "test")
1212
if isdir(testdir)
1313
include(joinpath(testdir, "choosetests.jl"))
1414
else
15-
@error "Julia's test/ directory not found, can't run Julia tests"
15+
run(`git clone https://github.com/JuliaLang/julia.git`)
16+
cd("julia") do
17+
run(`git checkout $(Base.GIT_VERSION_INFO.commit)`)
18+
run(`cp -r test $testdir`)
19+
end
1620
end
1721

1822
function test_path(test)

0 commit comments

Comments
 (0)