diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b17aa1e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + pull_request: + push: + branches: + - master + +jobs: + test: + name: ${{ matrix.os }} / Python ${{ matrix.python-version }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: + - '3.10' + - '3.11' + - '3.12' + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install --upgrade pipenv + pipenv install --dev + - name: Run tests + run: pipenv run python -m tests.test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dc0dcef..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -dist: xenial -language: python -python: - - "3.4" - - "3.5" - - "3.6" - - "3.7" - - "3.8-dev" -install: - - pip install --upgrade pipenv - - pipenv --three - - pipenv install --dev -script: - - python3 -m tests.test