Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cf7bbe4

Browse files
Konboidnozay
authored andcommitted
Add github actions configuration
1 parent 80ba558 commit cf7bbe4

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

‎.github/workflows/tests.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
include:
13+
- python-version: 3.5
14+
toxenv: py35
15+
- python-version: 3.6
16+
toxenv: py36
17+
- python-version: 3.7
18+
toxenv: py37
19+
- python-version: 3.8
20+
toxenv: py38
21+
- python-version: 3.8
22+
toxenv: py38-djangolts
23+
- python-version: 3.8
24+
toxenv: py38-djangocurr
25+
- python-version: 3.8
26+
toxenv: py38-quality
27+
- python-version: 3.9
28+
toxenv: py39
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v2
32+
- name: Setup Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v2
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- name: Before Install
37+
run: |
38+
python --version
39+
uname -a
40+
lsb_release -a
41+
- name: Install
42+
env:
43+
TOXENV: ${{ matrix.toxenv }}
44+
run: |
45+
pip install tox codecov coveralls
46+
virtualenv --version
47+
easy_install --version
48+
pip --version
49+
tox --version
50+
- name: Script
51+
run: |
52+
tox -v
53+
- name: After Failure
54+
if: ${{ failure() }}
55+
run: |
56+
more .tox/log/* | cat
57+
more .tox/*/log/* | cat
58+
- name: After Success
59+
if: ${{ success() }}
60+
run: |
61+
codecov
62+
coveralls

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /