Add LM test & make AR, LR, and Wald tests subvector tests #29
Workflow file for this run
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
on: | |
pull_request: | |
release: | |
types: | |
- published | |
name: Build | |
jobs: | |
python-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
name: Install Python | |
with: | |
python-version: '3.10' | |
- name: Install build dependencies | |
run: python -m pip install build | |
- name: Build source distribution and wheel | |
run: python -m build --sdist --wheel | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: wheels | |
path: dist/* | |
upload-testpypi: | |
needs: [python-build] | |
runs-on: ubuntu-latest | |
if: github.event_name == 'release' && github.event.action == 'published' | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: wheels | |
path: dist | |
- uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.TESTPYPI_GH_TOKEN }} | |
repository_url: https://test.pypi.org/legacy/ | |
upload-pypi: | |
needs: [python-build, upload-testpypi] | |
runs-on: ubuntu-latest | |
if: github.event_name == 'release' && github.event.action == 'published' | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: wheels | |
path: dist | |
- uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_GH_TOKEN }} |