Skip to content

Commit ab019e0

Browse files
kinowmr-c
authored andcommitted
Replace Travis by GH Actions
1 parent 6b74133 commit ab019e0

File tree

3 files changed

+45
-22
lines changed

3 files changed

+45
-22
lines changed

.github/workflows/ci-tests.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI Tests
2+
3+
# Migrated from .travis.yml, based on cwltool's ci-tests.yml.
4+
# See .travis.yml in git history for previous changes and configurations.
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: build-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
19+
ci_tests:
20+
name: CI Tests
21+
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
py-ver-major: [ 3 ]
25+
py-ver-minor: [ 9, 10, 11 ]
26+
27+
env:
28+
py-semver: ${{ format('{0}.{1}', matrix.py-ver-major, matrix.py-ver-minor) }}
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- name: Set up Python
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: ${{ env.py-semver }}
37+
cache: pip
38+
cache-dependency-path: |
39+
**/setup.cfg
40+
41+
- run: pip install -U pip setuptools wheel typing
42+
- run: pip install -e .[all]
43+
44+
- run: make RUNNER=cwltool unittest-examples

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![DOI for the latest version](https://zenodo.org/badge/89621457.svg)](https://zenodo.org/badge/latestdoi/89621457)
22

3-
[![Syntax Check](https://app.travis-ci.com/common-workflow-language/user_guide.svg?branch=main)](https://app.travis-ci.com/common-workflow-language/user_guide)
3+
[![CI Tests](https://github.com/common-workflow-language/user_guide/actions/workflows/ci-tests.yml/badge.svg?branch=main)](https://github.com/common-workflow-language/user_guide/actions/workflows/ci-tests.yml)
44

55
[![Translation status](https://hosted.weblate.org/widgets/commonwl/-/user-guide/svg-badge.svg)](https://hosted.weblate.org/engage/commonwl/)
66

0 commit comments

Comments
 (0)