Silence errors to not interrupt the outer pipeline (#59) #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Precommit | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
Run_UT: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: git ls-tree | |
run: | | |
python3 -m unittest discover -p "*_test.py" ./ | |
Build_Wheel: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build wheel | |
run: | | |
python3 setup.py sdist bdist_wheel | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: wheel | |
path: ${{ github.workspace }}/**/*.whl |