You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will for a variety of Python versions
2
+
# - install the code base
3
+
# - lint the code base
4
+
# - test the code base
5
+
# - upload the test coverage to codecov
6
+
#
7
+
# It will also
8
+
# - build the package
9
+
# - check the package
10
+
#
11
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
12
+
13
+
name: CI using pip
14
+
15
+
on: [push, pull_request]
16
+
17
+
jobs:
18
+
Code_Consistency:
19
+
runs-on: ubuntu-latest
20
+
steps:
21
+
- uses: actions/checkout@v4
22
+
- uses: chartboost/ruff-action@v1
23
+
- name: Suggestion to fix issues
24
+
if: ${{ failure() }}
25
+
run: |
26
+
echo "::notice::In project root run 'python.exe -m ruff . --fix' and commit changes to fix issues."
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
6
+
7
+
name: Publish Python Package
8
+
9
+
# Controls when the workflow will run
10
+
on:
11
+
# Triggers the workflow on tag creation
12
+
push:
13
+
tags:
14
+
- 'v*'
15
+
16
+
# Allows you to run this workflow manually from the Actions tab
0 commit comments