Skip to content

Commit

Permalink
Merge pull request #330 from matomo-org/githubaction
Browse files Browse the repository at this point in the history
Use a GitHub action instead of Travis CI
  • Loading branch information
sgiehl authored Jan 21, 2022
2 parents be792b2 + b242bf3 commit 6f66f96
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 19 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests

on:
pull_request:
push:
branches: [ 4.x-dev ]

permissions:
actions: read
checks: read
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.5', '3.6', '3.7', '3.8', '3.9', '3.10' ]
name: Tests (Python ${{ matrix.python-version }})
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install Pytest
run: |
pip install --upgrade pip
pip install pytest
python --version ; pip --version ; pytest --version
shell: bash
- name: Run Tests
run: |
cd tests
./run_tests.sh
shell: bash
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Import your server logs in Matomo with this powerful and easy to use tool.

## Requirements

* Python 3.5, 3.6 or 3.7.
* Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.
* Matomo On-Premise >= 4.0.0 or Matomo Cloud. Doesn't work when [Matomo for WordPress](https://wordpress.org/plugins/matomo/) is used.

Build status (master branch) [![Build Status](https://travis-ci.org/matomo-org/matomo-log-analytics.svg?branch=4.x-dev)](https://travis-ci.org/matomo-org/matomo-log-analytics)
Build status (main branch) ![PHPUnit](https://github.com/matomo-org/matomo-log-analytics/workflows/Tests/badge.svg?branch=4.x-dev)

## Supported log formats

Expand Down

0 comments on commit 6f66f96

Please sign in to comment.