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