Ayman Nadeem
fc2b5ace18
Update Test in semantic-core
2020-05-27 09:08:00 -04:00
Ayman Nadeem
aa58637f95
semantic-python doesn't compile core so omit these imports for now
2020-05-27 08:51:36 -04:00
Ayman Nadeem
baec4c69f8
temporarily omit Core imports
2020-05-27 08:23:03 -04:00
Patrick Thomson
26fddb41ec
disable doctests stuff for now, it seems busted
2020-05-26 16:30:05 -04:00
Ayman Nadeem
07be3fc06f
omit import of Directive
2020-05-26 12:21:05 -04:00
Ayman Nadeem
2c51b14169
Update semantic-python.cabal
2020-05-26 11:08:51 -04:00
Patrick Thomson
215fe31bf1
Use black
for formatting Bazel files.
2020-05-21 19:24:56 -04:00
Patrick Thomson
5662fdbe02
semantic-core tests too
2020-05-21 15:45:54 -04:00
Patrick Thomson
914690435f
Get semantic-source tests working.
2020-05-21 15:24:16 -04:00
Ayman Nadeem
206d16f75c
comment out Directive module from semantic-python.cabal
2020-05-21 15:09:32 -04:00
Ayman Nadeem
8f252bf6db
Update Test.hs
2020-05-21 14:42:07 -04:00
Ayman Nadeem
893d012b0f
fix precise tests for Ruby
2020-05-21 14:41:06 -04:00
Ayman Nadeem
4a49552376
fix python tests to point to the correct AST module
2020-05-21 14:39:33 -04:00
Ayman Nadeem
d2dec69de4
fix TSX test
2020-05-21 14:35:12 -04:00
Ayman Nadeem
2ab3b50727
we no longer need to parameterize JSON programs with Identity
2020-05-21 14:32:46 -04:00
Ayman Nadeem
bfed8d11f2
fix JSON imports
2020-05-21 14:32:27 -04:00
Ayman Nadeem
4f493028aa
fix TypeScript tests for precise ASTs
2020-05-21 14:30:00 -04:00
Ayman Nadeem
86cade0872
fix java imports
2020-05-21 14:29:08 -04:00
Ayman Nadeem
d8ef4811e2
fix go imports for precise testt
2020-05-21 14:26:38 -04:00
Ayman Nadeem
32e358c61e
remove ddump-splices from Language.Java.Grammar
2020-05-21 11:52:05 -04:00
Patrick Thomson
85f3a937b7
Merge pull request #558 from github/smarter-cache-ejection
...
Dynamically change cache keys based on cabal files' hash.
2020-05-20 15:09:34 -04:00
Ayman Nadeem
8014bb7596
replace AST.Test with AST.TestHelpers
2020-05-20 14:39:47 -04:00
Patrick Thomson
28a211c619
Revert testing code.
2020-05-20 14:21:28 -04:00
Ayman Nadeem
72d19c1229
Merge branch 'master' into codegen-cleanup
2020-05-20 14:14:25 -04:00
Patrick Thomson
ab6661b9c4
Make sure we always run cabal-cache.
2020-05-20 14:12:47 -04:00
Patrick Thomson
22e19c7b5c
I forgot a leading bar in this YAML.
...
YAML is not my favorite format.
2020-05-20 14:09:35 -04:00
Ayman Nadeem
21b737a8eb
comment out import that depends on scope-graphs
2020-05-20 14:07:53 -04:00
Patrick Thomson
40703fbea1
See if the cache blows correctly.
2020-05-20 14:05:13 -04:00
Ayman Nadeem
91e02a8be8
comment out Language.Python.Core
2020-05-20 14:00:42 -04:00
Ayman Nadeem
5710c22c88
add a note to update Core
2020-05-20 13:52:53 -04:00
Ayman Nadeem
437ddcaeb1
comment out semantic-core
2020-05-20 13:52:36 -04:00
Ayman Nadeem
bf582cab75
comment out graphing tests that rely on core
2020-05-20 13:52:29 -04:00
Patrick Thomson
117fb20ea7
Make sure cached artifacts kick in
2020-05-20 13:50:49 -04:00
Patrick Thomson
99a3677066
more handsome output
2020-05-20 13:00:07 -04:00
Patrick Thomson
55494f9311
One too many characters in the matching clause.
2020-05-20 11:54:58 -04:00
Patrick Thomson
564ded558e
Fix syntax errors.
2020-05-20 11:52:23 -04:00
Patrick Thomson
0fa0a63b0d
Dynamically change cache keys based on cabal files' hash.
...
The problem with our caching approach up until now is that we've been
hitting Actions caches too often. As we `cabal update` and `cabal
configure`, our build plan strays farther and farther from what's
present in the cache, resulting in more and more cache missed from
`cabal`. The fix here is to hash a file that's changed reasonably
often and to use that to key the caches, falling back on the most
recently used cache present on a miss.
2020-05-20 11:51:07 -04:00
Ayman Nadeem
58ee3fb70d
temporarily comment out import and instance that uses ScopeGraph
2020-05-20 11:32:24 -04:00
Ayman Nadeem
82b2eed1d8
comment out scope graph stuff from semantic-python.cabal
2020-05-20 11:07:47 -04:00
Ayman Nadeem
dbfa4f69b2
Add note to update file to accommodate new AST shapes
2020-05-20 11:06:41 -04:00
Patrick Thomson
e0de83cece
Merge pull request #556 from github/smarter-caching
...
Try new approach to caching.
2020-05-20 11:05:15 -04:00
Ayman Nadeem
d8322554dc
wrap body and condition in Py.IfStatement
2020-05-20 11:05:11 -04:00
Patrick Thomson
700197f993
See if we can elide other caches.
2020-05-20 10:41:56 -04:00
Patrick Thomson
e6933b2792
Revert.
2020-05-20 10:38:28 -04:00
Patrick Thomson
51e765b6ca
See if eliding the configuration step will help builds.
2020-05-20 10:33:09 -04:00
Patrick Thomson
9175a64705
Test caching.
2020-05-20 10:20:42 -04:00
Patrick Thomson
731c8022f3
Change key so we don't get a false cache hit.
2020-05-20 09:31:48 -04:00
Patrick Thomson
f7169955bb
Try new approach to caching.
2020-05-20 09:06:33 -04:00
Patrick Thomson
4d7f83851f
more jobs
2020-05-20 08:22:29 -04:00
Alexei Pastuchov
62c804675e
semantic-rust should run corpus tests for macros.txt
2020-05-20 11:40:44 +02:00