Skip to content

Commit

Permalink
Merge pull request #4 from sidney/test-github-actions
Browse files Browse the repository at this point in the history
Test GitHub actions
  • Loading branch information
sidney authored Feb 3, 2021
2 parents 763d53a + f875f18 commit 0ce299b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: BrotliDecPy Testing
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Test with unittest
run: python -m unittest discover test
env:
PYTHONPATH: .
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
brotli

0 comments on commit 0ce299b

Please sign in to comment.