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 c831f0c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 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.

0 comments on commit c831f0c

Please sign in to comment.