Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit 4e2753b

Browse files
author
John Andersen
committed
ci: GitHub Actions cleanup
* README, docs: Use GitHub Actions badge instead of Travis * ci: Whitespace checker correctly runs on pull requests Signed-off-by: John Andersen <[email protected]>
1 parent 8be6011 commit 4e2753b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.ci/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function run_plugin() {
3737
"source" \
3838
"config")
3939
for plugin in ${PLUGINS[@]}; do
40-
dffml service dev create "${plugin}" "travis-test-${plugin}"
41-
cd "travis-test-${plugin}"
40+
dffml service dev create "${plugin}" "ci-test-${plugin}"
41+
cd "ci-test-${plugin}"
4242
"${PYTHON}" -m pip install -U .
4343
"${PYTHON}" setup.py test
4444
cd "${plugin_creation_dir}"
@@ -65,7 +65,7 @@ function run_plugin() {
6565

6666
function run_changelog() {
6767
# Only run this check on pull requests
68-
if [ "x$TRAVIS_PULL_REQUEST" == "xfalse" ]; then
68+
if [ "x$GITHUB_EVENT_NAME" != "xpull_request" ]; then
6969
exit 0
7070
fi
7171
# Ensure the number of lines added in the changelog is not 0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data Flow Facilitator for Machine Learning (dffml)
22

3-
[![Build Status](https://travis-ci.org/intel/dffml.svg?branch=master)](https://travis-ci.org/intel/dffml) [![codecov](https://codecov.io/gh/intel/dffml/branch/master/graph/badge.svg)](https://codecov.io/gh/intel/dffml) [![CII](https://bestpractices.coreinfrastructure.org/projects/2594/badge)](https://bestpractices.coreinfrastructure.org/projects/2594) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/dffml/community) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
3+
[![Actions Status](https://github.com/intel/dffml/workflows/Testing/badge.svg)](https://github.com/intel/dffml/actions) [![codecov](https://codecov.io/gh/intel/dffml/branch/master/graph/badge.svg)](https://codecov.io/gh/intel/dffml) [![CII](https://bestpractices.coreinfrastructure.org/projects/2594/badge)](https://bestpractices.coreinfrastructure.org/projects/2594) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/dffml/community) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
44

55
## Documentation
66

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Welcome to DFFML!
22
=================
33

4-
.. image:: https://travis-ci.org/intel/dffml.svg?branch=master
5-
:target: https://travis-ci.org/intel/dffml
6-
:alt: Build Status
4+
.. image:: https://github.com/intel/dffml/workflows/Testing/badge.svg
5+
:target: https://github.com/intel/dffml/actions
6+
:alt: Test Status
77
.. image:: https://codecov.io/gh/intel/dffml/branch/master/graph/badge.svg
88
:target: https://codecov.io/gh/intel/dffml
99
:alt: codecov

0 commit comments

Comments
 (0)