Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-16.04
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt -r requirements-dev.txt
- name: Checking the code syntax
run: |
pycodestyle --first chaoslib
- name: Run tests
run: |
pip install -e .
pytest tests/

build:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.5'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Build the choastoolkit-lib package
run : |
python3 setup.py build
Empty file added .github/workflows/release.yaml
Empty file.
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@

[197]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/197

### Changed

- Moved from TravisCI to GitHub Workflows [#201][201]

[201]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/201

## [1.16.0][] - 2020-12-02

[1.16.0]: https://github.com/chaostoolkit/chaostoolkit-lib/compare/1.15.1...1.16.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Version](https://img.shields.io/pypi/v/chaostoolkit-lib.svg)](https://img.shields.io/pypi/v/chaostoolkit-lib.svg)
[![License](https://img.shields.io/pypi/l/chaostoolkit-lib.svg)](https://img.shields.io/pypi/l/chaostoolkit-lib.svg)

[![Build Status](https://travis-ci.org/chaostoolkit/chaostoolkit-lib.svg?branch=master)](https://travis-ci.org/chaostoolkit/chaostoolkit-lib)
![Build](https://github.com/chaostoolkit/chaostoolkit-lib/workflows/Build/badge.svg)
[![codecov](https://codecov.io/gh/chaostoolkit/chaostoolkit-lib/branch/master/graph/badge.svg)](https://codecov.io/gh/chaostoolkit/chaostoolkit-lib)
[![Python versions](https://img.shields.io/pypi/pyversions/chaostoolkit-lib.svg)](https://www.python.org/)

Expand Down
44 changes: 0 additions & 44 deletions ci.bash

This file was deleted.

5 changes: 5 additions & 0 deletions tests/test_exit.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
from copy import deepcopy
import os
import threading
import time
from wsgiref.simple_server import WSGIServer, WSGIRequestHandler

import pytest

from chaoslib.exit import exit_gracefully, exit_ungracefully
from chaoslib.run import Runner
from chaoslib.types import Strategy

from fixtures import experiments

pytestmark = pytest.mark.skipif(os.getenv("CI") != None, reason="Skip CI")


def run_http_server_in_background():
def slow_app(environ, start_response):
Expand Down