Skip to content

Commit

Permalink
move ci to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
cadl committed Apr 7, 2024
1 parent b7e2d1c commit 40d7573
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test
on:
pull_request:
branches-ignore:
- "release-**"

jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
check-latest: true
- name: Install dependencies
run: |
sudo apt-get install -y zstd
pip install -e .[test]
- name: Test with pytest
run: |
py.test -v -s tests

0 comments on commit 40d7573

Please sign in to comment.