diff --git a/.JuliaFormatter.toml b/.JuliaFormatter.toml index 481cff0a..5e092a6d 100644 --- a/.JuliaFormatter.toml +++ b/.JuliaFormatter.toml @@ -1 +1,4 @@ -whitespace_in_kwargs=false \ No newline at end of file +style = "blue" +import_to_using = false +always_use_return = false +short_to_long_function_def = false diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ccc7bb31..4062fc8a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -1,4 +1,4 @@ -name: Run benchmarks +name: benchmarks on: pull_request: @@ -6,9 +6,6 @@ on: jobs: Benchmark: if: "!contains(github.event.head_commit.message, '[skip ci]')" - env: - GKS_ENCODING: "utf8" - GKSwstype: "100" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -16,7 +13,7 @@ jobs: with: version: 1 - ## Setup + # Setup - name: Ubuntu TESTCMD run: echo "TESTCMD=xvfb-run --auto-servernum julia" >> $GITHUB_ENV - name: Install Plots dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45a723a9..584bd3fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,9 +72,9 @@ jobs: # Run tests - name: Run Graphical test run: | - $TESTCMD --project -e 'using Pkg; Pkg.test(coverage=true);' - $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("StatsPlots"); Pkg.test("StatsPlots");' - $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("GraphRecipes"); Pkg.test("GraphRecipes");' + $TESTCMD --project -e 'using Pkg; Pkg.test(coverage=true)' + $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("StatsPlots"); Pkg.test("StatsPlots")' + $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("GraphRecipes"); Pkg.test("GraphRecipes")' - name: Codecov uses: julia-actions/julia-uploadcodecov@latest diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 1b041417..e983db8f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,10 +1,10 @@ -name: Run JuliaFormatter +name: format on: pull_request: jobs: - Benchmark: + JuliaFormatter: if: "!contains(github.event.head_commit.message, '[skip ci]')" runs-on: ubuntu-latest steps: