File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name : detect-secrets-ci
5
+
6
+ on :
7
+ push :
8
+ branches : [ master ]
9
+ pull_request :
10
+
11
+ jobs :
12
+ main :
13
+ runs-on : ${{ matrix.os }}
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, macos-latest]
17
+ python : ['3.6', '3.7', '3.8', '3.9']
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : actions/setup-python@v2
21
+ with :
22
+ python-version : ${{ matrix.python }}
23
+ - run : python -m pip install --upgrade setuptools pip tox virtualenv
24
+ # Run tox only for the installed py version on the runner as outlined in the python matrix
25
+ # Ensures the correct py version is installed and tested as opposed to 'tox' which attempts to run for all py versions in tox.ini
26
+ - run : tox -e py
27
+ - run : tox -e mypy
You can’t perform that action at this time.
0 commit comments