File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 2121
2222# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2323jobs :
24- # Generate a common hashseed for all tests
25- generate-hashseed :
26- runs-on : ubuntu-latest
27-
28- outputs :
29- hashseed : ${{ steps.generate.outputs.hashseed }}
30-
31- steps :
32- - name : Generate Hashseed
33- id : generate
34- run : |
35- python -c "import os
36- from random import randint
37- hashseed = randint(0, 4294967295)
38- print(f'{hashseed=}')
39- open(os.environ['GITHUB_OUTPUT'], 'a').write(f'hashseed={hashseed}')"
4024
25+ # Run flake8 linter
4126 flake8 :
4227 runs-on : ubuntu-latest
4328
5843 pip install flake8
5944 flake8 setup.py dpath/ tests/
6045
46+ # Generate a common hashseed for all tests
47+ generate-hashseed :
48+ runs-on : ubuntu-latest
49+
50+ outputs :
51+ hashseed : ${{ steps.generate.outputs.hashseed }}
52+
53+ steps :
54+ - name : Generate Hashseed
55+ id : generate
56+ run : |
57+ python -c "import os
58+ from random import randint
59+ hashseed = randint(0, 4294967295)
60+ print(f'{hashseed=}')
61+ open(os.environ['GITHUB_OUTPUT'], 'a').write(f'hashseed={hashseed}')"
62+
6163 # Tests job
6264 tests :
6365 # The type of runner that the job will run on
You can’t perform that action at this time.
0 commit comments