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

Commit 7664892

Browse files
Allison Dealrafaelcaricio
andauthored
update create event configuration (#61)
* 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]>
1 parent 96125c0 commit 7664892

30 files changed

+1050
-6077
lines changed

.circleci/config.yml

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

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[run]
22
branch = True
3-
omit = *_test.py

.flake8

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

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
12+
13+
env:
14+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15+
16+
jobs:
17+
test:
18+
name: Run Tests
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v1
23+
- name: Set up Python
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: 3.8
27+
- name: Install test dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install tox==3.20.0 poetry==1.1.3
31+
- name: Run Tests
32+
run: |
33+
tox
34+
tox -e codecov -- -t ${{ env.CODECOV_TOKEN }}

.isort.cfg

Whitespace-only changes.

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ clean-build:
99
rm --force --recursive *.egg-info
1010

1111
lint:
12-
flake8 --exclude=.tox --exclude=venv
12+
tox -e deadfixtures,isort-check,flake8
1313

14-
test: lint
15-
py.test --verbose --cov=./elemental --color=yes .
16-
17-
test_cov: test
18-
codecov
14+
test:
15+
tox

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
# elemental
2+
# Elemental
33

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

77

elemental/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .client import (ElementalException, ElementalLive, InvalidRequest,
22
InvalidResponse)
33

4-
__all__ = [ElementalException, ElementalLive, InvalidResponse, InvalidRequest]
4+
__all__ = ('ElementalException', 'ElementalLive', 'InvalidResponse', 'InvalidRequest',)

0 commit comments

Comments
 (0)