Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Continuous Integration Testing: Migrate from Travis to GitHub Actions #137

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
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
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI Testing

on: [push, pull_request, workflow_dispatch]

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -q --upgrade pip
if [ "${{ matrix.python-version }}" != "2.7" ]; then pip install -q ruff; fi
pip install -q coverage nose
pip install -q -r requirements.txt
- name: Lint with ruff
continue-on-error: true
run: |
if [ "${{ matrix.python-version }}" != "2.7" ]; then ruff --format=github --target-version=py39 .; fi
- name: Run tests
run: |
PYTHONIOENCODING=ascii python -m "nose" --with-coverage --cover-package=seesaw --cover-branches
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Seesaw toolkit

An asynchronous toolkit for distributed web processing. Written in Python and named after its behavior, it supports concurrent downloads, uploads, etc.

This toolkit is well-known for [Archive Team projects](http://archiveteam.org). It also powers the [Archive Team warrior](http://archiveteam.org/index.php?title=Warrior).
This toolkit is well-known for [Archive Team projects](https://wiki.archiveteam.org/). It also powers the [Archive Team warrior](https://wiki.archiveteam.org/index.php/ArchiveTeam_Warrior).

[![Build Status](https://secure.travis-ci.org/ArchiveTeam/seesaw-kit.png)](http://travis-ci.org/ArchiveTeam/seesaw-kit)
[![Coverage Status](https://coveralls.io/repos/ArchiveTeam/seesaw-kit/badge.svg)](https://coveralls.io/r/ArchiveTeam/seesaw-kit)
[![Build Status](https://github.com/ArchiveTeam/seesaw-kit/actions/workflows/test.yml/badge.svg)](https://github.com/ArchiveTeam/seesaw-kit/actions/workflows/test.yml)
<!-- [![Coverage Status](https://coveralls.io/repos/ArchiveTeam/seesaw-kit/badge.svg)](https://coveralls.io/r/ArchiveTeam/seesaw-kit) -->

Installation
------------
Expand Down