8000 Replace Travis-CI with Github Actions · sybrenstuvel/python-rsa@c0d8670 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Commit c0d8670

Browse files
committed
Replace Travis-CI with Github Actions
Travis-CI stopped working, switching over to Github Actions for automated unit tests. This removes the used of 'coveralls' in the CI pipeline (may come back at some point), and adds testing on pypy 3.8 and 3.9.
1 parent bc6445a commit c0d8670

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Python-RSA
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version:
11+
- "3.7"
12+
- "3.8"
13+
- "pypy3.8"
14+
- "3.9"
15+
- "pypy3.9"
16+
- "3.10"
17+
- "3.11"
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
< 59D3 /code>
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install poetry
29+
poetry install
30+
- name: Run tox
31+
# Run tox using the version of Python in `PATH`
32+
run: poetry run tox -e py

0 commit comments

Comments
 (0)
0