File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the action will run. Triggers the workflow on push or pull request
6+ # events but only for the master branch
7+ on :
8+ push :
9+ branches : [ master ]
10+ pull_request :
11+ branches : [ master ]
12+
13+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+ jobs :
15+ # This workflow contains a single job called "build"
16+ build :
17+ # The type of runner that the job will run on
18+ runs-on : ubuntu-latest
19+
20+ # Steps represent a sequence of tasks that will be executed as part of the job
21+ steps :
22+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+ - uses : actions/checkout@v2
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v2
27+ with :
28+ python-version : ' 3.x'
29+
30+ - name : Install global dependencies
31+ run : python -m pip install -U pip setuptools wheel
32+
33+ - name : Install deps
34+ run : pip install -r requirements.txt
35+
36+ - name : Install password_validator
37+ run : pip install .
38+
39+ - name : Run tests
40+ run : python -m unittest discover tests -v
You can’t perform that action at this time.
0 commit comments