Update .forgejo/workflows/test.yaml
This commit is contained in:
parent
59ec02343b
commit
17ce142bc8
1 changed files with 16 additions and 3 deletions
|
@ -1,6 +1,19 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
name: test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "*" ]
|
||||
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- run: echo asdasdasd
|
||||
- name: --cpu-period=100000 --cpu-quota=150000 in container.options
|
||||
run: apt-get update && apt-get install stress && stress --cpu 6 --timeout 10
|
||||
|
||||
test:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: debian:latest
|
||||
steps:
|
||||
- name: --cpu-period=100000 --cpu-quota=150000 in container.options too
|
||||
run: apt-get update && apt-get install stress && stress --cpu 6 --timeout 10
|
Loading…
Reference in a new issue