Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
release:
types:
- released
- prereleased

jobs:
test:
Expand Down Expand Up @@ -33,3 +41,50 @@ jobs:
run: |
pip install pytest
pytest dask_glm

build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout source
uses: actions/checkout@v2

- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
python-version: ${{ matrix.python-version }}
activate-environment: dask-glm

- name: Build Source
run: python setup.py sdist

- name: Build Wheel
run: python setup.py bdist_wheel

- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/dask*

upload_pypi:
needs:
- test
- build
if: "startsWith(github.ref, 'refs/tags/')"
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: pypa/gh-action-pypi-publish@v1.5.0
with:
user: __token__
password: ${{ secrets.pypi_token }}

255 changes: 0 additions & 255 deletions dask_glm/estimators.py

This file was deleted.

Loading