Skip to content

Commit

Permalink
Add github action for static checking
Browse files Browse the repository at this point in the history
  • Loading branch information
shapovalovts committed Aug 25, 2024
1 parent 0067c62 commit 586122e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Python static checks

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

env:
PYTHON_VERSION: 3.10

jobs:
unittests:
runs-on: ubuntu-22.04

steps:
-
uses: actions/checkout@v4
-
uses: actions/setup-python@v5
with:
python-version: ${{env.PYTHON_VERSION}}
-
name: Install packages
run: |
python${{env.PYTHON_VERSION}} -m pip install --upgrade pip
pip${{env.PYTHON_VERSION}} install virtualenv
-
name: Run static checks
run: |
make prepare-venv
make check
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
Sky Port Terminal for Jupyter
<p align="center">
<a href="https://github.com/openworkload/swm-jupyter-term/blob/master/LICENSE" alt="License">
<img src="https://img.shields.io/github/license/openworkload/swm-jupyter-term" />
</a>
<a href="https://github.com/openworkload/swm-jupyter-term/actions/workflows/ci.yml" alt="Latest CI tests result">
<img src="https://github.com/openworkload/swm-jupyter-term/actions/workflows/ci.yml/badge.svg?event=push" />
</a>
</p>


Sky Port Juputer terminal
=============================

# Sky Port project
Expand Down

0 comments on commit 586122e

Please sign in to comment.