Skip to content

Commit

Permalink
replace Travis CI with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Jan 22, 2022
1 parent 0c436e7 commit ad73e00
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 43 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
# Trigger the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install libarchive
run: sudo apt-get install -y libarchive13
- name: Install Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install tox
run: pip install tox
- name: Run the tests
run: tox
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. image:: https://travis-ci.org/Changaco/python-libarchive-c.svg
:target: https://travis-ci.org/Changaco/python-libarchive-c

A Python interface to libarchive. It uses the standard ctypes_ module to
dynamically load and access the C library.

Expand Down

0 comments on commit ad73e00

Please sign in to comment.