Skip to content

Commit

Permalink
Adds tests github workflow pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jvrsantacruz committed May 28, 2024
1 parent 6a01fc1 commit 4f12e1d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Python tests
on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
format: ["basic", "yaml", "hcl"]

steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
run: tox -e py-${{ matrix.format }}
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ confight

[![PyPI](https://img.shields.io/pypi/v/confight.svg)](https://pypi.org/project/confight/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/confight.svg)
[![Build Status](https://travis-ci.org/Avature/confight.svg?branch=master)](https://travis-ci.org/Avature/confight)
![Build Status](https://github.com/Avature/confight/actions/workflows/tests.yaml/badge.svg)

One simple way of parsing configs

Expand Down

0 comments on commit 4f12e1d

Please sign in to comment.