Skip to content

Commit

Permalink
Migrate to Github Actions audreyfeldroy#707
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancisBilla committed Apr 6, 2024
1 parent 5886204 commit 27ced9f
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 89 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# GitHub CI build pipeline
name: Cookie Cutter 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.txt ]; then pip install -r requirements_dev.txt; fi
- name: Run Tests and generate coverage report
run: |
coverage run -m pytest
- name: Archive code coverage html report
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: src/htmlcov
- 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
39 changes: 0 additions & 39 deletions .github/workflows/python-publish.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

25 changes: 0 additions & 25 deletions tox.ini

This file was deleted.

0 comments on commit 27ced9f

Please sign in to comment.