Skip to content

Commit

Permalink
Merge pull request #734 from FrancisBilla/HPPK-707-Migrate-CI-to-Gith…
Browse files Browse the repository at this point in the history
…ubActions

Migrate ci to GitHub actions #707
  • Loading branch information
audreyfeldroy authored Apr 6, 2024
2 parents 545b492 + 4ca3d5b commit 77e60ef
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 101 deletions.
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.

0 comments on commit 77e60ef

Please sign in to comment.