diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml new file mode 100644 index 0000000..804afee --- /dev/null +++ b/.github/workflows/python-test.yml @@ -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: . diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..71867b8 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +brotli