Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 'CI' GitHub action
Browse files Browse the repository at this point in the history
Runs pytest and black lint
LCVcode committed Aug 17, 2024
1 parent c583f7a commit 4bd15b8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Test with pytest
run: |
pip install pytest black
pytest
black --check --line-length 79 .

0 comments on commit 4bd15b8

Please sign in to comment.