Skip to content

Commit

Permalink
Revert "Update dev (#558)"
Browse files Browse the repository at this point in the history
This reverts commit 70567b6.
  • Loading branch information
efaulhaber authored Jun 26, 2024
1 parent 70567b6 commit 1978c04
Show file tree
Hide file tree
Showing 216 changed files with 4,705 additions and 48,117 deletions.
6 changes: 0 additions & 6 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Use SciML style: https://github.com/SciML/SciMLStyle
style = "sciml"

# Python style alignment. See https://github.com/domluna/JuliaFormatter.jl/pull/732.
yas_style_nesting = true

# Align struct fields for better readability of large struct definitions
align_struct_field = true

# No whitespaces in kwargs because this is more common in Julia
whitespace_in_kwargs = false

# Allow Dict definitions to be aligned like arrays. See https://github.com/domluna/JuliaFormatter.jl/pull/676
variable_call_indent = ["Dict"]
2 changes: 0 additions & 2 deletions .codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }} # optional
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "test", "docs"])'
run: julia -e 'using CompatHelper; CompatHelper.main(; subdirs=["", "test"])'
46 changes: 0 additions & 46 deletions .github/workflows/Documenter.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/FormatCheck.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: Check spelling
uses: crate-ci/typos@v1.21.0
uses: crate-ci/typos@v1.14.10
31 changes: 0 additions & 31 deletions .github/workflows/TagBot.yml

This file was deleted.

68 changes: 12 additions & 56 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,93 +4,49 @@ on:
push:
branches:
- main
paths-ignore:
- 'AUTHORS.md'
- 'CITATION.bib'
- 'CONTRIBUTING.md'
- 'LICENSE.md'
- 'NEWS.md'
- 'README.md'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/TagBot.yml'
- 'docs/**'
pull_request:
paths-ignore:
- 'AUTHORS.md'
- 'CITATION.bib'
- 'CONTRIBUTING.md'
- 'LICENSE.md'
- 'NEWS.md'
- 'README.md'
- '.github/workflows/CompatHelper.yml'
- '.github/workflows/TagBot.yml'
- 'docs/**'
workflow_dispatch:


# Cancel redundant CI tests automatically
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Run Tests (Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }})
runs-on: ubuntu-latest
strategy:
# Don't cancel all running jobs when one job fails
fail-fast: false
matrix:
version:
- '1.9'
- '1'
os:
- ubuntu-latest
arch:
- x64
include:
# Also run tests on Windows and macOS-ARM, but only with the latest Julia version
- version: '1'
os: windows-latest
arch: x64
- version: '1'
os: macos-14
arch: arm64

steps:
- name: Check out project
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: Set up Julia
uses: julia-actions/setup-julia@v2
uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
version: '1'
- name: Apply JuliaFormatter and check format
run: |
julia -e 'using Pkg; Pkg.add("JuliaFormatter")'
julia -e 'using JuliaFormatter; !format(".", verbose=true) &&
error("Code not properly formatted")'
- name: Build package
uses: julia-actions/julia-buildpkg@v1
- name: Run unit tests
uses: julia-actions/julia-runtest@v1
with:
annotate: true
# Only run coverage in one Job (Ubuntu and latest Julia version)
coverage: ${{ matrix.os == 'ubuntu-latest' && matrix.version == '1' }}
coverage: true
env:
TRIXIPARTICLES_TEST: unit
- name: Process coverage results
# Only run coverage in one Job (Ubuntu and latest Julia version)
if: matrix.os == 'ubuntu-latest' && matrix.version == '1'
uses: julia-actions/julia-processcoverage@v1
with:
directories: src,test
directories: src,test,examples
- name: Upload coverage report to Codecov
# Only run coverage in one Job (Ubuntu and latest Julia version)
if: matrix.os == 'ubuntu-latest' && matrix.version == '1'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
fail_ci_if_error: true
flags: unit
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Run example tests
uses: julia-actions/julia-runtest@v1
with:
Expand Down
18 changes: 1 addition & 17 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,4 @@ Manifest.toml
out
out_*
docs/build
docs/src/authors.md
docs/src/contributing.md
docs/src/license.md
docs/src/code_of_conduct.md
docs/src/news.md
*_replaced.md
run
*.json
!.zenodo.json
*.png
*.jpg
*.gif
*.svg
*.vtu
*.pvd
*.mp4
*.csv
env
4 changes: 0 additions & 4 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
[default.extend-words]
ba = "ba"
Shepard = "Shepard"
shepard = "shepard"
Strack = "Strack"
Lok = "Lok"
34 changes: 0 additions & 34 deletions .zenodo.json

This file was deleted.

25 changes: 0 additions & 25 deletions AUTHORS.md

This file was deleted.

8 changes: 0 additions & 8 deletions CITATION.bib

This file was deleted.

Loading

0 comments on commit 1978c04

Please sign in to comment.