From d853f5c5e7325e17c8f705fdb37c540669af79d1 Mon Sep 17 00:00:00 2001 From: Tomasz Grzegowski Date: Wed, 18 Dec 2024 16:24:47 +0000 Subject: [PATCH] CI workflow --- .github/workflows/tests.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8d65a51..f531f58 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,3 +49,27 @@ jobs: fetch-depth: 0 - run: docker build -t neptun-runner:0.0.1 . - run: cargo xtask perf --base main + + xray-tests: + runs-on: ubuntu-24.04 + steps: + - name: Checkout + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + - name: Install wg + run: | + sudo apt-get update + sudo apt-get install -y wireguard + - name: Setup pipenv + working-directory: xray + run: | + python -m pip install --upgrade pip + pip install pipenv + pipenv install + - name: Execute xray + working-directory: xray + run: pipenv run python run.py --wg native --ascii --save-chart + - name: Upload results + uses: actions/upload-artifact@v4 + with: + name: xray-results + path: xray/results/*.png