Skip to content

Commit

Permalink
Launch tests on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jul 12, 2024
1 parent 2ca3c77 commit a4e228f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 37 deletions.
2 changes: 0 additions & 2 deletions .coveragerc

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: webencoding's tests
on: [push, pull_request]

jobs:
tests:
name: ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.12']
include:
- os: ubuntu-latest
python-version: '3.8'
- os: ubuntu-latest
python-version: 'pypy-3.9'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tests’ requirements
run: python -m pip install .[test]
- name: Launch tests
run: python -m pytest
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

9 changes: 0 additions & 9 deletions tox.ini

This file was deleted.

0 comments on commit a4e228f

Please sign in to comment.