Преглед изворни кода

Merge pull request #63 from offa/ci

Github Action CI migration
pull/65/head
Ben Kurtovic пре 2 година
committed by GitHub
родитељ
комит
51442e0aed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
5 измењених фајлова са 36 додато и 16 уклоњено
  1. +7
    -0
      .github/dependabot.yml
  2. +26
    -0
      .github/workflows/ci.yml
  3. +0
    -15
      .travis.yml
  4. +1
    -1
      Pipfile
  5. +2
    -0
      README.md

+ 7
- 0
.github/dependabot.yml Прегледај датотеку

@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: pipenv
directory: /
schedule:
interval: weekly

+ 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

+ 0
- 15
.travis.yml Прегледај датотеку

@@ -1,15 +0,0 @@
language: python

dist: bionic

python:
- "3.6"
- "3.7"
- "3.8"


install:
- pipenv install

script:
- 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


Loading…
Откажи
Сачувај