diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5ad8c68 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: camelot + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + 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@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install camelot with dependencies + run: | + make install + - name: Test with pytest + run: | + make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100755 index e370649..0000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -sudo: true -language: python -cache: pip -addons: - apt: - update: true -install: - - make install -jobs: - include: - - stage: test - script: - - make test - python: '3.6' - - stage: test - script: - - make test - python: '3.7' - dist: xenial - - stage: test - script: - - make test - python: '3.8' - dist: xenial - - stage: coverage - python: '3.8' - script: - - make test - - codecov --verbose