From 102b714c1185740cd6d28ae886bca78a6b48dbe4 Mon Sep 17 00:00:00 2001 From: FlightlessMango Date: Mon, 15 May 2023 14:26:56 +0200 Subject: [PATCH] CI: add action for parameter test --- .github/workflows/param-check.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/param-check.yml diff --git a/.github/workflows/param-check.yml b/.github/workflows/param-check.yml new file mode 100644 index 00000000..19cde86a --- /dev/null +++ b/.github/workflows/param-check.yml @@ -0,0 +1,23 @@ +name: param check + +on: + push: + paths: + - 'src/overlay_params.h' + - 'README.md' + - 'data/MangoHud.conf' + +jobs: + param-check: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.11.2' # Replace with the version of Python you want to use + - name: Run Python script + run: | + cd tests + python params.py