Skip to content

Commit

Permalink
add lint and build verification steps
Browse files Browse the repository at this point in the history
  • Loading branch information
barrust committed Jan 6, 2024
1 parent fb4e4bd commit a8500c8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-package.yml
Expand Up @@ -41,3 +41,27 @@ jobs:
file: /home/runner/coverage.xml
fail_ci_if_error: true
verbose: true

build-verification:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Build and check twine
run: |
python -m pip install --upgrade pip
python -m pip install build twine
python -m build
twine check dist/*
Lint-black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
# src: "./probables"
version: "22.8.0"

0 comments on commit a8500c8

Please sign in to comment.