[geany/www.geany.org] c07935: Migrate from Travis CI to Github Actions
Enrico Tröger
git-noreply at xxxxx
Sun Nov 28 16:08:03 UTC 2021
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 28 Nov 2021 16:08:03 UTC
Commit: c07935a903c2c640b10a7cf08a09041a00231162
https://github.com/geany/www.geany.org/commit/c07935a903c2c640b10a7cf08a09041a00231162
Log Message:
-----------
Migrate from Travis CI to Github Actions
Modified Paths:
--------------
.github/workflows/linting.yml
.travis.yml
Modified: .github/workflows/linting.yml
53 lines changed, 53 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,53 @@
+# LICENCE: This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+name: CI Linting
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ build:
+ name: Python ${{ matrix.python }}
+ runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ python: ['3.7', '3.8', '3.9', '3.10']
+ fail-fast: false
+
+ steps:
+ - uses: actions/checkout at v2
+
+ - name: Setup Python
+ uses: actions/setup-python at v2
+ with:
+ python-version: ${{ matrix.python }}
+
+ - name: Install dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install --assume-yes --no-install-recommends \
+ default-libmysqlclient-dev \
+ libmemcached-dev
+ pip install --upgrade pip setuptools
+
+ - name: Install Tox
+ run: pip install tox
+
+ - name: Lint
+ run: tox -e py
Modified: .travis.yml
26 lines changed, 0 insertions(+), 26 deletions(-)
===================================================================
@@ -1,26 +0,0 @@
-# LICENCE: This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-os: linux
-dist: bionic
-sudo: false
-language: python
-cache: pip
-
-python:
- - "3.7"
- - "3.8"
- - "3.9"
-
-install: pip install tox-travis
-script: tox
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list