]>
Commit | Line | Data |
---|---|---|
1 | name: Quick Test | |
2 | on: [push, pull_request] | |
3 | jobs: | |
4 | tests: | |
5 | name: Core Test | |
6 | if: "!contains(github.event.head_commit.message, 'ci skip all')" | |
7 | runs-on: ubuntu-latest | |
8 | steps: | |
9 | - uses: actions/checkout@v2 | |
10 | - name: Set up Python | |
11 | uses: actions/setup-python@v2 | |
12 | with: | |
13 | python-version: 3.9 | |
14 | - name: Install test requirements | |
15 | run: pip install pytest pycryptodomex | |
16 | - name: Run tests | |
17 | run: ./devscripts/run_tests.sh core | |
18 | flake8: | |
19 | name: Linter | |
20 | if: "!contains(github.event.head_commit.message, 'ci skip all')" | |
21 | runs-on: ubuntu-latest | |
22 | steps: | |
23 | - uses: actions/checkout@v2 | |
24 | - name: Set up Python | |
25 | uses: actions/setup-python@v2 | |
26 | with: | |
27 | python-version: 3.9 | |
28 | - name: Install flake8 | |
29 | run: pip install flake8 | |
30 | - name: Make lazy extractors | |
31 | run: python devscripts/make_lazy_extractors.py | |
32 | - name: Run flake8 | |
33 | run: flake8 . |