Skip to content

Commit

Permalink
Migrate to GitHub Actions
Browse files Browse the repository at this point in the history
One thing at a time. The linting will be done later with pre-commit.
  • Loading branch information
fsouza committed Aug 23, 2022
1 parent 3c3b2a2 commit 71cf216
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 37 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build
on:
push:
branches:
- master

pull_request:
branches:
- master

jobs:
test:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
os:
- macos
- ubuntu
- windows

name: tests
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3.0.2

- uses: actions/setup-python@v4.2.0
with:
python-version: ${{ matrix.python-version }}

- run: pip install .

- name: run tests
run: python setup.py test

fuzz:
name: fuzz
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2

- uses: actions/setup-python@v4.2.0
with:
python-version: "3.10"

- run: pip install .

- name: run fuzz
run: python test_fuzz.py ./*.py
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

0 comments on commit 71cf216

Please sign in to comment.