Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
393504c
use released version of centos images
richm Dec 3, 2020
ce60fd9
changes to gha tox.yml
richm Dec 3, 2020
a193cb9
use tox-lsr
richm Dec 3, 2020
9b4b912
more
richm Dec 3, 2020
4c5b8ac
more
richm Dec 3, 2020
f9a5e79
more
richm Dec 3, 2020
7e0909a
more
richm Dec 3, 2020
3d9b41c
more
richm Dec 3, 2020
f146bb2
moar
richm Dec 3, 2020
c2cc6c7
have to install git
richm Dec 3, 2020
81e15ba
use tox-lsr 0.0.2
richm Dec 3, 2020
16a929a
debug
richm Dec 3, 2020
efd32f2
debug tox failure
richm Dec 3, 2020
5d4849a
debug more
richm Dec 3, 2020
e5b5f66
use tox-lsr 0.0.4
richm Dec 4, 2020
b5c8d5b
improve github status naming
richm Dec 4, 2020
c5a381c
improve github status naming
richm Dec 4, 2020
94f8f91
some refactoring
richm Dec 14, 2020
5178ede
fix
richm Dec 14, 2020
eef5ca1
use correct chown command for links
richm Dec 14, 2020
fb0f518
debug
richm Dec 14, 2020
55abfff
try again
richm Dec 14, 2020
17e5f79
use specific commit
richm Dec 14, 2020
16f5db7
try again
richm Dec 14, 2020
aa5011f
upstart provides init
richm Dec 14, 2020
2936b72
try pre_build_image: false
richm Dec 14, 2020
40c63db
test container
richm Apr 5, 2021
49a8615
try again
richm Apr 5, 2021
372ff5b
try with local action
richm Apr 6, 2021
c68a05d
make executable
richm Apr 6, 2021
a8a3e86
add git
richm Apr 6, 2021
d34a307
use main
richm Apr 6, 2021
e5e457a
debug
richm Apr 6, 2021
f419c33
try to upgrade pip
richm Apr 6, 2021
c21bba1
try to upgrade pip
richm Apr 6, 2021
d574b9f
debug
richm Apr 6, 2021
d2dc749
debug
richm Apr 6, 2021
fa0fc12
debug
richm Apr 6, 2021
bf296b2
debug
richm Apr 6, 2021
a73e3c9
preinstall
richm Apr 6, 2021
72a3b9a
py 1.4
richm Apr 6, 2021
c41a831
try that
richm Apr 6, 2021
8477986
move some stuff to dockerfile
richm Apr 6, 2021
3bef4f9
cannot do yum install in Dockerfile
richm Apr 6, 2021
5e1284c
use real lsr-gha-py26
richm Apr 6, 2021
5480c71
use 1.0.0
richm Apr 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 41 additions & 7 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,49 @@
name: test with tox
on:
# yamllint disable rule:line-length
name: tox
on: # yamllint disable-line rule:truthy
- pull_request
env:
TOX_LSR: "git+https://github.com/linux-system-roles/tox-lsr@main"
LSR_ANSIBLES: 'ansible==2.7.* ansible==2.8.* ansible==2.9.*'
LSR_MSCENARIOS: default
# LSR_EXTRA_PACKAGES: "libdbus-1-dev libgirepository1.0-dev python3-dev"
jobs:
build:
python:
runs-on: ubuntu-latest
strategy:
matrix:
pyver: ['2.7', '3.6', '3.7', '3.8']
steps:
- name: checkout PR
uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: tox
python-version: ${{ matrix.pyver }}
- name: Install platform dependencies, python, tox, tox-lsr
run: |
set -euxo pipefail
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install git
pip install "$TOX_LSR"
lsr_ci_preinstall
- name: Run tox tests
run: |
set -euxo pipefail
toxpyver=$(echo "${{ matrix.pyver }}" | tr -d .)
toxenvs="py${toxpyver}"
case "$toxpyver" in
27) toxenvs="${toxenvs},coveralls,flake8,pylint,custom" ;;
36) toxenvs="${toxenvs},coveralls,black,yamllint,shellcheck,custom,collection" ;;
37) toxenvs="${toxenvs},coveralls,custom" ;;
38) toxenvs="${toxenvs},coveralls,custom" ;;
esac
TOXENV="$toxenvs" lsr_ci_runtox
python-26:
runs-on: ubuntu-latest
steps:
- name: checkout PR
uses: actions/checkout@v2
- name: Run LSR py26 action
uses: linux-system-roles/lsr-gh-action-py26@1.0.0
49 changes: 0 additions & 49 deletions .travis/config.sh

This file was deleted.

12 changes: 0 additions & 12 deletions .travis/custom.sh

This file was deleted.

171 changes: 0 additions & 171 deletions .travis/custom_pylint.py

This file was deleted.

35 changes: 0 additions & 35 deletions .travis/preinstall

This file was deleted.

68 changes: 0 additions & 68 deletions .travis/runblack.sh

This file was deleted.

Loading