Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into rm-six
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed May 17, 2021
2 parents 9814cc7 + 21efc0b commit 391b0a0
Show file tree
Hide file tree
Showing 35 changed files with 703 additions and 784 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.14.0
current_version = 1.15.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [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 dependencies
run: |
python -m pip install --upgrade pip
pip install tox codecov
- name: Run tests
run: tox -e py
- name: Run docs and formatting tests
if: ${{ matrix.python-version == 3.9 }}
run: |
tox -e docs
tox -e pep8
- name: Upload coverage.xml to codecov
if: ${{ matrix.python-version == 3.9 }}
uses: codecov/codecov-action@v1
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Release notes
=============

1.15.0 (2021-04-06)
-------------------
- feature: Improve content of Sentry messages (`PR#279 <https://github.com/scrapinghub/spidermon/pull/279>`_)
- bug: Replace `boto` with `boto3` for Amazon SES work correctly (`issue#285 <https://github.com/scrapinghub/spidermon/issues/285>`_)

1.14.0 (2020-10-05)
-------------------
- feature: Built-in monitor for field and item coverage (`issue#253 <https://github.com/scrapinghub/spidermon/issues/253>`_)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) Scrapinghub
Copyright (c) Zyte
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Spidermon
=========

.. image:: https://img.shields.io/travis/scrapinghub/spidermon/master
:target: https://travis-ci.org/scrapinghub/spidermon
:alt: travis build status master branch
.. image:: https://github.com/scrapinghub/spidermon/workflows/CI/badge.svg?branch=master
:target: https://github.com/scrapinghub/spidermon/actions?workflow=CI
:alt: CI Status

.. image:: https://img.shields.io/codecov/c/github/scrapinghub/spidermon.svg
:target: http://codecov.io/github/scrapinghub/spidermon?branch=master
Expand Down
Loading

0 comments on commit 391b0a0

Please sign in to comment.