Skip to content

Commit

Permalink
👷 Add CI for automated python code testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Apr 18, 2024
1 parent 63f903d commit a60d793
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: codestyle
on:
push:
branches:
- master
pull_request:
branches:
- master
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
codestyle:
runs-on: ubuntu-latest
steps:
- name: "Checkout branch"
uses: actions/checkout@v4
- name: "Set up Python on Ubuntu"
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: "Python codestyle"
run: |
pip install ".[dev]"
pip install pytest
pytest .

0 comments on commit a60d793

Please sign in to comment.