mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-10-06 03:58:16 +03:00
Merge pull request #58 from Orange-OpenSource/feature/add-github-action
Add Github Action
This commit is contained in:
commit
0ca6b9618d
20
.github/workflows/rust.yml
vendored
Normal file
20
.github/workflows/rust.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Rust
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: pip3 install Flask && cd integration && python3 server.py &
|
||||
- run: wget https://snapshots.mitmproxy.org/5.2/mitmproxy-5.2-linux.tar.gz -O - | tar -xz && ./mitmdump -p 8888 --modify-header "/From-Proxy/Hello" &
|
||||
- name: Run build
|
||||
run: ./build.sh
|
||||
- name: Run integration tests
|
||||
run: export PATH="$PWD/target/debug:$PATH" && integration/integration.sh
|
Loading…
Reference in New Issue
Block a user