Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate ci to GitHub actions #707 #734

38 changes: 38 additions & 0 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# GitHub CI build pipeline
name: Cookiecutter PyPackage CI build

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage
if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; else pip install . fi
- name: Run Tests
run: |
pytest tests/
- name: Run package creation
run: |
python -m pip install --user --upgrade build
python -m build
- name: Archive package
uses: actions/upload-artifact@v2
with:
name: cookie-cutter
path: src/dist
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

51 changes: 0 additions & 51 deletions appveyor.yml

This file was deleted.

25 changes: 0 additions & 25 deletions tox.ini

This file was deleted.