Skip to content

Commit 6560bed

Browse files
committed
Add GitLab Actions
1 parent a0a9460 commit 6560bed

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SPDX-FileCopyrightText: 2026 Helmholtz-Zentrum Dresden - Rossendorf e.V. (HZDR)
2+
# SPDX-FileContributor: David Pape
3+
#
4+
# SPDX-License-Identifier: CC0-1.0
5+
6+
name: Tests
7+
run-name: Tests for ${{ github.actor }} on ${{ github.ref_name }}
8+
on: [push, pull_request]
9+
permissions:
10+
contents: read
11+
jobs:
12+
ruff-check-and-format-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v5
16+
- uses: astral-sh/ruff-action@v3
17+
- run: ruff check
18+
- run: ruff format --check --diff
19+
reuse-compliance-check:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v5
23+
- uses: fsfe/reuse-action@v6

0 commit comments

Comments
 (0)