File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 # Our Golden tests run NilAway on the entire standard library, which is very resource-intensive.
3737 # GitHub Actions terminates the job if it hits the resource limits (both in CPU and memory).
3838 # For CPU limit we set GOMAXPROCS to be one less than the number of available CPUs.
39- # For memory limit we create a 16G swap file and set GOMEMLIMIT to 8G.
40- - name : Create swap file in Github Actions to avoid OOM killer
41- run : |
42- sudo fallocate -l 16G /swapfile
43- sudo chmod 600 /swapfile
44- sudo mkswap /swapfile
45- sudo swapon /swapfile
46-
39+ # For memory limit we set GOMEMLIMIT to 8G.
4740 - name : Golden Test
4841 id : golden_test
4942 run : |
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ report errors providing users with the nilness flows for easier debugging.
1414
1515NilAway enjoys three key properties that make it stand out:
1616
17- - It is ** fully-automated** : NilAway is equipped with an inference engine, making it require _ no_ any additional
17+ - It is ** fully-automated** : NilAway is equipped with an inference engine, making it require _ no_ additional
1818 information from the developers (e.g., annotations) besides standard Go code.
1919
2020- It is ** fast** : we have designed NilAway to be fast and scalable, making it suitable for large codebases. In our
You can’t perform that action at this time.
0 commit comments