Skip to content

Commit

Permalink
migrate tests to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed May 26, 2024
1 parent 3ca4b1a commit 32a045d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 13 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Test

on:
pull_request:
push:
branches:
- master

concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- none
- libconfig
steps:
- uses: actions/checkout@v4
- name: Install pkg-config
run: sudo apt-get install -y pkg-config
- name: Install libconfig
if: matrix.config == 'libconfig'
run: sudo apt-get install -y libconfig-dev
- run: ./autogen.sh
- run: make
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 32a045d

Please sign in to comment.