Skip to content

Commit ad73e00

Browse files
committed
replace Travis CI with GitHub Actions
1 parent 0c436e7 commit ad73e00

3 files changed

Lines changed: 32 additions & 43 deletions

File tree

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
on:
3+
# Trigger the workflow on push or pull request events but only for the master branch
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
# Allow running this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Install libarchive
16+
run: sudo apt-get install -y libarchive13
17+
- name: Install Python 3.9
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: '3.9'
21+
- name: Install Python 3.8
22+
uses: actions/setup-python@v2
23+
with:
24+
python-version: '3.8'
25+
- name: Install Python 3.7
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: '3.7'
29+
- name: Install tox
30+
run: pip install tox
31+
- name: Run the tests
32+
run: tox

.travis.yml

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

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
.. image:: https://travis-ci.org/Changaco/python-libarchive-c.svg
2-
:target: https://travis-ci.org/Changaco/python-libarchive-c
3-
41
A Python interface to libarchive. It uses the standard ctypes_ module to
52
dynamically load and access the C library.
63

0 commit comments

Comments
 (0)