Skip to content

Commit

Permalink
workflows: Consolidate, update and remove travis references
Browse files Browse the repository at this point in the history
Use naming and base images that are consistent with other repositories.
  • Loading branch information
jrha committed Sep 4, 2024
1 parent 7660d6f commit 2b26d97
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 56 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
61 changes: 61 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Run Tests

on: [push, pull_request]

jobs:

test-library:
runs-on: ubuntu-latest
container: ghcr.io/quattor/quattor-test-container:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: yum -y install subversion
- name: run tests
run: .ci-scripts/test-library
env:
TRAVIS_BUILD_DIR: "$GITHUB_WORKSPACE"
TRAVIS_REPO_SLUG: "$GITHUB_REPOSITORY"
TRAVIS_BRANCH: "${GITHUB_HEAD_REF:-master}"

panlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# we need the full repo or HEAD^ does not work
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3
- name: Install dependencies
run: pip install colorama prettytable six
- name: run panlint
run: .ci-scripts/panlint

indentation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# we need the full repo or HEAD^ does not work
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3
- name: run indent checker
run: .ci-scripts/indent

test-templates:
runs-on: ubuntu-latest
container: ghcr.io/quattor/quattor-test-container:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: test templates
run: .ci-scripts/test-templates
29 changes: 0 additions & 29 deletions .github/workflows/syntax.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/test_templates.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit 2b26d97

Please sign in to comment.