Skip to content

Commit

Permalink
GitHub Actions WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Jun 19, 2021
1 parent 806a20c commit 9881587
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/ci-linux-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: tests

on: ["push", "pull_request"]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install test dependencies
run: |
./install-test.sh
- name: Install dev version of Arpeggio
run: |
cd ..
git clone --depth=1 --branch=master git://github.com/textX/Arpeggio.git
cd Arpeggio && python setup.py install
cd ../textX
- name: Run unit tests
run: |
./runtests.sh
- name: Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
coveralls
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![PyPI Version](https://img.shields.io/pypi/v/textX.svg)](https://pypi.python.org/pypi/textX)
![](https://img.shields.io/pypi/l/textX.svg)
[![Build status](https://travis-ci.org/textX/textX.svg?branch=master)](https://travis-ci.org/textX/textX)
[![Build status](https://github.com/textx/textx/actions/workflows/ci-linux-ubuntu.yml/badge.svg)](https://github.com/textx/textx/actions)
[![Code test coverage](https://coveralls.io/repos/github/textX/textX/badge.svg?branch=master)](https://coveralls.io/github/textX/textX?branch=master)
[![Documentation Status](https://img.shields.io/badge/docs-latest-green.svg)](http://textx.github.io/textX/latest/)

Expand Down

0 comments on commit 9881587

Please sign in to comment.