Skip to content

Merge pull request #10 from cvxgrp/bmeyers-patch-1 #51

Merge pull request #10 from cvxgrp/bmeyers-patch-1

Merge pull request #10 from cvxgrp/bmeyers-patch-1 #51

Workflow file for this run

name: Tests
on:
push:
pull_request:
types: [opened]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Dependencies
run: |
sudo python -m pip install --upgrade pip
sudo python -m pip install -e .
- name: Run Unit Tests
run: sudo python -m unittest
test-build-pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Twine and Build
run: sudo pip install twine build
- name: Create the distribution
run: |
git fetch --prune --unshallow --tags
sudo python -m build