From 8854659ddb4a23aeede2985a31f0095207911b96 Mon Sep 17 00:00:00 2001 From: Marcelo Jorge Vieira Date: Fri, 6 Oct 2023 20:28:48 -0300 Subject: [PATCH] Replace travis with github actions --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f26a28d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: unittests +on: + push: + pull_request: + types: [opened, reopened] +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.9', '3.10', '3.11', '3.12'] + steps: + - uses: actions/checkout@v3 + - name: Set up Python + id: setup-python + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + make setup + - name: Test + run: make coverage diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b1508b7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -sudo: false -dist: xenial -language: python -python: - - 2.7 - - 3.6 - - 3.8 -script: - - make coverage -after_success: - - coveralls