github actions: rewrite file test action to fix ulimit; add timeouts

This commit is contained in:
Joakim Frostegård 2021-10-23 19:02:05 +02:00
parent 08488f50cd
commit d0aa87f99e
5 changed files with 20 additions and 13 deletions

View file

@ -10,9 +10,13 @@ jobs:
test-transfer-http:
runs-on: ubuntu-latest
name: "Test BitTorrent file transfer over HTTP (with and without TLS), UDP and WSS"
timeout-minutes: 20
container:
image: rust:1-bullseye
options: --ulimit memlock=524288:524288
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Test file transfers
uses: ./.github/actions/test-transfer
id: test_transfer
id: test_transfer