Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf997e96

Browse files
Merge pull request#62 from codecov/chore-migrate-to-gha
Migrate to GitHub Actions and CircleCI
2 parents7488388 +e8b8aeb commitf997e96

File tree

5 files changed

+46
-54
lines changed

5 files changed

+46
-54
lines changed

‎.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version:2.1
2+
orbs:
3+
codecov:codecov/codecov@3.0.0
4+
5+
jobs:
6+
build:
7+
docker:
8+
-image:cimg/python:3.9.6
9+
steps:
10+
-checkout
11+
-run:
12+
name:Install dependencies
13+
command:pip install -r requirements.txt
14+
-run:
15+
name:Run tests and collect coverage
16+
command:|
17+
coverage run tests.py
18+
coverage xml
19+
-codecov/upload
20+
21+
workflow:
22+
version:2.1
23+
build-test:
24+
jobs:
25+
-build

‎.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name:Workflow for Codecov example-python
2+
on:[push, pull_request]
3+
jobs:
4+
run:
5+
runs-on:ubuntu-latest
6+
steps:
7+
-name:Checkout
8+
uses:actions/checkout@v2
9+
-name:Set up Python 3.9
10+
uses:actions/setup-python@v2
11+
with:
12+
python-version:3.9
13+
-name:Install dependencies
14+
run:pip install -r requirements.txt
15+
-name:Run tests and collect coverage
16+
run:|
17+
coverage run tests.py
18+
coverage xml
19+
-name:Upload coverage to Codecov
20+
uses:codecov/codecov-action@v2

‎.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎azure-pipelines.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
coverage

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp