|
1 | | -name: Run tests |
| 1 | +# name: Run tests |
2 | 2 |
|
3 | | -on: |
4 | | - schedule: |
5 | | - - cron: 0 * * * * |
6 | | - push: |
7 | | - branches: |
8 | | - - master |
| 3 | +# on: |
| 4 | +# schedule: |
| 5 | +# - cron: 0 * * * * |
| 6 | +# push: |
| 7 | +# branches: |
| 8 | +# - master |
9 | 9 |
|
10 | | -jobs: |
11 | | - build: |
12 | | - runs-on: ubuntu-latest |
| 10 | +# jobs: |
| 11 | +# build: |
| 12 | +# runs-on: ubuntu-latest |
13 | 13 |
|
14 | | - steps: |
15 | | - - uses: actions/checkout@v2 |
16 | | - - name: Set up Python |
17 | | - uses: actions/setup-python@v1 |
18 | | - with: |
19 | | - python-version: 3.10.16 |
| 14 | +# steps: |
| 15 | +# - uses: actions/checkout@v2 |
| 16 | +# - name: Set up Python |
| 17 | +# uses: actions/setup-python@v1 |
| 18 | +# with: |
| 19 | +# python-version: 3.10.16 |
20 | 20 |
|
21 | | - - name: Install dependencies |
22 | | - env: |
23 | | - ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' |
24 | | - run: | |
25 | | - mkdir vegeta |
26 | | - cd vegeta |
27 | | - curl -LO https://github.com/tsenart/vegeta/releases/download/v12.8.3/vegeta-12.8.3-linux-amd64.tar.gz |
28 | | - tar -xvf vegeta-* |
29 | | - ls |
30 | | - chmod +x vegeta |
31 | | - echo "::add-path::"$(pwd)/vegeta |
32 | | - cd .. |
33 | | - python -m pip install --upgrade pip |
34 | | - pip install -r requirements.txt |
| 21 | +# - name: Install dependencies |
| 22 | +# env: |
| 23 | +# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' |
| 24 | +# run: | |
| 25 | +# mkdir vegeta |
| 26 | +# cd vegeta |
| 27 | +# curl -LO https://github.com/tsenart/vegeta/releases/download/v12.8.3/vegeta-12.8.3-linux-amd64.tar.gz |
| 28 | +# tar -xvf vegeta-* |
| 29 | +# ls |
| 30 | +# chmod +x vegeta |
| 31 | +# echo "::add-path::"$(pwd)/vegeta |
| 32 | +# cd .. |
| 33 | +# python -m pip install --upgrade pip |
| 34 | +# pip install -r requirements.txt |
35 | 35 |
|
36 | | - - name: Run |
37 | | - run: | |
38 | | - export PATH=$(pwd)/vegeta:$PATH |
39 | | - python run.py |
| 36 | +# - name: Run |
| 37 | +# run: | |
| 38 | +# export PATH=$(pwd)/vegeta:$PATH |
| 39 | +# python run.py |
40 | 40 |
|
41 | | - - name: Report |
42 | | - run: | |
43 | | - git config --local user.name "github-actions[bot]" |
44 | | - git config --local user.email "github-actions[bot]@users.noreply.github.com" |
45 | | - git remote set-url origin "https://github-actions:${GH_TOKEN}@github.com/birlug/soallpeach" |
46 | | - git add report.json |
47 | | - git commit -m 'update report.json' |
48 | | - git push origin HEAD:master |
| 41 | +# - name: Report |
| 42 | +# run: | |
| 43 | +# git config --local user.name "github-actions[bot]" |
| 44 | +# git config --local user.email "github-actions[bot]@users.noreply.github.com" |
| 45 | +# git remote set-url origin "https://github-actions:${GH_TOKEN}@github.com/birlug/soallpeach" |
| 46 | +# git add report.json |
| 47 | +# git commit -m 'update report.json' |
| 48 | +# git push origin HEAD:master |
0 commit comments