Skip to content

Commit 1c98c2e

Browse files
authored
Merge pull request #113 from jrha/reuse_workflows
Reuse shared workflows to run tests
2 parents ff6307c + 530a14b commit 1c98c2e

File tree

4 files changed

+3
-77
lines changed

4 files changed

+3
-77
lines changed

.ci-scripts/indent

Lines changed: 0 additions & 8 deletions
This file was deleted.

.ci-scripts/panlint

Lines changed: 0 additions & 8 deletions
This file was deleted.

.ci-scripts/test-library

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/continuous-integration.yaml

Lines changed: 3 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -5,50 +5,7 @@ on: [push, pull_request]
55
jobs:
66

77
test-library:
8-
runs-on: ubuntu-latest
9-
container: ghcr.io/quattor/quattor-test-container:latest
10-
steps:
11-
- name: Checkout code
12-
uses: actions/checkout@v4
13-
- name: Install dependencies
14-
run: dnf -y install subversion
15-
- name: run tests
16-
run: .ci-scripts/test-library
17-
env:
18-
TRAVIS_BUILD_DIR: "$GITHUB_WORKSPACE"
19-
TRAVIS_REPO_SLUG: "$GITHUB_REPOSITORY"
20-
TRAVIS_BRANCH: "${GITHUB_HEAD_REF:-master}"
8+
uses: quattor/release/.github/workflows/vanilla-scdb.yaml@main
219

22-
panlint:
23-
runs-on: ubuntu-latest
24-
steps:
25-
- name: Checkout code
26-
uses: actions/checkout@v4
27-
with:
28-
# we need the full repo or HEAD^ does not work
29-
fetch-depth: 0
30-
- name: Set up Python
31-
uses: actions/setup-python@v5
32-
with:
33-
python-version: 3
34-
- name: Install dependencies
35-
run: pip install colorama prettytable six
36-
- name: run panlint
37-
run: .ci-scripts/panlint
38-
39-
indentation:
40-
runs-on: ubuntu-latest
41-
steps:
42-
- name: Checkout code
43-
uses: actions/checkout@v4
44-
with:
45-
# we need the full repo or HEAD^ does not work
46-
fetch-depth: 0
47-
- name: Set up Python
48-
uses: actions/setup-python@v5
49-
with:
50-
python-version: 3
51-
- name: Install dependencies
52-
run: pip install colorama
53-
- name: run indent checker
54-
run: .ci-scripts/indent
10+
standard-pan:
11+
uses: quattor/release/.github/workflows/pan-template-tests.yaml@main

0 commit comments

Comments
 (0)