From 892fabc20db923d61db62e73e377eb01912f72ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20Thom=C3=A9?= Date: Mon, 15 Jul 2024 15:18:28 +0200 Subject: [PATCH] Create test.yaml --- .github/workflows/test.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 00000000..c02316c8 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,28 @@ +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + cache: pip + + - name: Install libsndfile1 + run: sudo apt-get install libsndfile1 + + - name: Install dependencies + run: pip install . + + - name: Check training script + run: python train.py --help