소스 검색

Add Github Action CI

pull/63/head
offa 1 년 전
부모
커밋
7c3e5f978a
3개의 변경된 파일29개의 추가작업 그리고 1개의 파일을 삭제
  1. +26
    -0
      .github/workflows/ci.yml
  2. +1
    -1
      Pipfile
  3. +2
    -0
      README.md

+ 26
- 0
.github/workflows/ci.yml 파일 보기

@@ -0,0 +1,26 @@
name: ci

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [ "3.6", "3.7", "3.8", "3.9", "3.10" ]
name: python-${{ matrix.python }}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup python-${{ matrix.python }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python }}
cache: "pipenv"
cache-dependency-path: "Pipfile"
- name: Install Dependencies
run: |
pip install pipenv
pipenv install -d
- name: Test
run: pipenv run pytest

+ 1
- 1
Pipfile 파일 보기

@@ -14,7 +14,7 @@ GitPython = ">= 2.1.8"
colorama = ">= 0.3.9"

[requires]
python_version = "3.7"
python_version = "3"

[scripts]
test = "pytest gitup -v -rxw"


+ 2
- 0
README.md 파일 보기

@@ -1,5 +1,7 @@
__gitup__ (the _git-repo-updater_)

[![ci](https://github.com/earwig/git-repo-updater/actions/workflows/ci.yml/badge.svg)](https://github.com/earwig/git-repo-updater/actions/workflows/ci.yml)

gitup is a tool for updating multiple git repositories at once. It is smart
enough to handle several remotes, dirty working directories, diverged local
branches, detached HEADs, and more. It was originally created to manage a large


불러오는 중...
취소
저장