diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 9ad7369..8acced8 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -6,7 +6,6 @@ on: release: types: [published, edited] - jobs: build: @@ -34,5 +33,8 @@ jobs: run: | python setup.py sdist bdist_wheel twine upload --repository-url dist/* - - + + - name: Install from PyPI + run: | + pip install -U idrlnet + pip show idrlnet diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 72f3bce..90cbd21 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -31,8 +31,8 @@ jobs: run: | # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. Theg GitHub editor is 127 chars wide + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - python examples/simple_poisson/simple_poisson.py + python examples/simple_poisson/simple_poisson.py \ No newline at end of file