diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5eb623a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +name: Python CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-18.04 + strategy: + matrix: + python-version: ["3.9"] + + steps: + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + architecture: amd64 + + - name: Check out repository + uses: actions/checkout@v2 + + - name: Upgrade pip and setuptools + run: | + python -m pip install --upgrade pip setuptools + + - name: Install dependencies + run: | + pip install . + + - name: Run tests + run: | + python test/test.py diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8a2ca25..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -os: linux -arch: - - amd64 - - ppc64le - -dist: bionic -language: python -python: - - "3.5" - - "3.6" - - "3.7" - - "3.8" - - "3.9" - -script: - - pip install --upgrade pip setuptools - - pip install . - - test/test.py