update JuliaFormatter config file

This commit is contained in:
t-bltg 2021-08-08 20:25:36 +02:00
parent 1c84704a81
commit ffca3c1305
4 changed files with 11 additions and 11 deletions

View File

@ -1 +1,4 @@
whitespace_in_kwargs=false style = "blue"
import_to_using = false
always_use_return = false
short_to_long_function_def = false

View File

@ -1,4 +1,4 @@
name: Run benchmarks name: benchmarks
on: on:
pull_request: pull_request:
@ -6,9 +6,6 @@ on:
jobs: jobs:
Benchmark: Benchmark:
if: "!contains(github.event.head_commit.message, '[skip ci]')" if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
GKS_ENCODING: "utf8"
GKSwstype: "100"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -16,7 +13,7 @@ jobs:
with: with:
version: 1 version: 1
## Setup # Setup
- name: Ubuntu TESTCMD - name: Ubuntu TESTCMD
run: echo "TESTCMD=xvfb-run --auto-servernum julia" >> $GITHUB_ENV run: echo "TESTCMD=xvfb-run --auto-servernum julia" >> $GITHUB_ENV
- name: Install Plots dependencies - name: Install Plots dependencies

View File

@ -72,9 +72,9 @@ jobs:
# Run tests # Run tests
- name: Run Graphical test - name: Run Graphical test
run: | run: |
$TESTCMD --project -e 'using Pkg; Pkg.test(coverage=true);' $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("StatsPlots"); Pkg.test("StatsPlots")'
$TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("GraphRecipes"); Pkg.test("GraphRecipes");' $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("GraphRecipes"); Pkg.test("GraphRecipes")'
- name: Codecov - name: Codecov
uses: julia-actions/julia-uploadcodecov@latest uses: julia-actions/julia-uploadcodecov@latest

View File

@ -1,10 +1,10 @@
name: Run JuliaFormatter name: format
on: on:
pull_request: pull_request:
jobs: jobs:
Benchmark: JuliaFormatter:
if: "!contains(github.event.head_commit.message, '[skip ci]')" if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: