Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
update create event configuration (#61)
Browse files Browse the repository at this point in the history
* update create event configuration

* fix xml spacing

* fix whitespace

* Adjust project structure

* Upgrade some dev deps versions

* Fix variable names

* Update XML template and reset call

* Update readme

* Add test for reset

* Remove XML templates

* Remove templates

Co-authored-by: Rafael Carício <[email protected]>
  • Loading branch information
Allison Deal and rafaelcaricio authored Oct 27, 2020
1 parent 96125c0 commit 7664892
Show file tree
Hide file tree
Showing 30 changed files with 1,050 additions and 6,077 deletions.
26 changes: 0 additions & 26 deletions .circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[run]
branch = True
omit = *_test.py
2 changes: 0 additions & 2 deletions .flake8

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened

env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install tox==3.20.0 poetry==1.1.3
- name: Run Tests
run: |
tox
tox -e codecov -- -t ${{ env.CODECOV_TOKEN }}
Empty file removed .isort.cfg
Empty file.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ clean-build:
rm --force --recursive *.egg-info

lint:
flake8 --exclude=.tox --exclude=venv
tox -e deadfixtures,isort-check,flake8

test: lint
py.test --verbose --cov=./elemental --color=yes .

test_cov: test
codecov
test:
tox
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# elemental
# Elemental

[![CircleCI](https://circleci.com/gh/cbsinteractive/elemental.svg?style=svg&circle-token=fd7cbe049147941bb3151f2468ad6d98eaed5a6e)](https://circleci.com/gh/cbsinteractive/elemental)
[![continuous integration status](https://github.com/cbsinteractive/elemental/workflows/CI/badge.svg)](https://circleci.com/gh/cbsinteractive/elemental)
[![codecov](https://codecov.io/gh/cbsinteractive/elemental/branch/master/graph/badge.svg?token=qFdUKsI2tD)](https://codecov.io/gh/cbsinteractive/elemental)


Expand Down
2 changes: 1 addition & 1 deletion elemental/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .client import (ElementalException, ElementalLive, InvalidRequest,
InvalidResponse)

__all__ = [ElementalException, ElementalLive, InvalidResponse, InvalidRequest]
__all__ = ('ElementalException', 'ElementalLive', 'InvalidResponse', 'InvalidRequest',)
Loading

0 comments on commit 7664892

Please sign in to comment.