Skip to content

Commit 0fa3289

Browse files
committedApr 3, 2021
enable github actions
1 parent e0116d8 commit 0fa3289

File tree

6 files changed

+60
-109
lines changed

6 files changed

+60
-109
lines changed
 

‎.appveyor.yml

-8
This file was deleted.

‎.github/workflows/main.yml

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: main
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags:
7+
pull_request:
8+
9+
jobs:
10+
main:
11+
strategy:
12+
matrix:
13+
include:
14+
# linux
15+
- os: ubuntu-latest
16+
python: pypy-3.7
17+
toxenv: py
18+
- os: ubuntu-latest
19+
python: 3.6
20+
toxenv: py
21+
- os: ubuntu-latest
22+
python: 3.7
23+
toxenv: py
24+
- os: ubuntu-latest
25+
python: 3.8
26+
toxenv: py
27+
- os: ubuntu-latest
28+
python: 3.9
29+
toxenv: py
30+
# windows
31+
- os: windows-latest
32+
python: 3.6
33+
toxenv: py
34+
# misc
35+
- os: ubuntu-latest
36+
python: 3.9
37+
toxenv: docs
38+
- os: ubuntu-latest
39+
python: 3.9
40+
toxenv: linters
41+
- os: ubuntu-latest
42+
python: 3.9
43+
toxenv: dogfood
44+
runs-on: ${{ matrix.os }}
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: actions/setup-python@v2
48+
with:
49+
python-version: ${{ matrix.python }}
50+
- run: pip install --upgrade setuptools pip tox virtualenv
51+
- run: tox -e ${{ matrix.toxenv }}

‎.gitlab-ci.yml

-70
This file was deleted.

‎.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
44
rev: v2.3.0
55
hooks:
6+
- id: check-yaml
67
- id: debug-statements
78
exclude: ^tests/fixtures/example-code/invalid-syntax.py$
89
- id: end-of-file-fixer

‎.travis.yml

-31
This file was deleted.

‎README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
.. image:: https://github.com/PyCQA/flake8/workflows/main/badge.svg
2+
:target: https://github.com/PyCQA/flake8/actions?query=workflow%3Amain
3+
:alt: build status
4+
5+
.. image:: https://results.pre-commit.ci/badge/github/PyCQA/flake8/master.svg
6+
:target: https://results.pre-commit.ci/latest/github/PyCQA/flake8/master
7+
:alt: pre-commit.ci status
8+
19
========
210
Flake8
311
========

0 commit comments

Comments
 (0)
Please sign in to comment.