Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
build(ci): add workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
fardeon committed Mar 1, 2023
1 parent 9ba59ba commit 218db8e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
name: ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- name: Lint with flake8
run: make lint
- name: Test with pytest
run: make test

0 comments on commit 218db8e

Please sign in to comment.