1
0
Fork 0

Update python-PyCTBN-package.yml

master
philipMartini 4 years ago committed by GitHub
parent d2fe3f190c
commit a4e3fd797d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      .github/workflows/python-PyCTBN-package.yml

@ -40,3 +40,28 @@ jobs:
- name: Test with pytest
run: |
pytest PyCTBN/tests/
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
git config --local user.email "f.martini@campus.unimib.it"
git config --local user.name "philipMartini"
git add .
git commit -m "Create New Realease at dist/" -a || true
# The above command will fail if no changes were present, so we ignore
# that.
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: master
github_token: ${{ secrets.PYCTBN_TOK }}