From 55bcaed1888a0c5321609e069208cf16294f220b Mon Sep 17 00:00:00 2001 From: Johannes Englisch Date: Fri, 23 Aug 2024 11:16:46 +0200 Subject: [PATCH] fix ci --- .github/workflows/cldf-validation.yml | 4 ++-- .github/workflows/python-package.yml | 29 --------------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/python-package.yml diff --git a/.github/workflows/cldf-validation.yml b/.github/workflows/cldf-validation.yml index b81e49e..af4f9bf 100644 --- a/.github/workflows/cldf-validation.yml +++ b/.github/workflows/cldf-validation.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + python-version: [3.12] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml deleted file mode 100644 index b1c5333..0000000 --- a/.github/workflows/python-package.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: CLDF-validation - -on: -push: -branches: [ master ] -pull_request: -branches: [ master ] - -jobs: -build: - -runs-on: ubuntu-latest -strategy: - matrix: - python-version: [3.12] - -steps: -- uses: actions/checkout@v4 -- name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} -- name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pytest-cldf -- name: Test with pytest - run: | - pytest --cldf-metadata=cldf/cldf-metadata.json test.py