From 7d4089a461d0b7b00088908d4296aa58f2b57e66 Mon Sep 17 00:00:00 2001 From: hansendx Date: Tue, 2 Jul 2024 10:05:23 +0200 Subject: [PATCH] Update metadata tests --- .../check-metadata-data-compliance.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/check-metadata-data-compliance.yml b/.github/workflows/check-metadata-data-compliance.yml index 6f12474..de48712 100644 --- a/.github/workflows/check-metadata-data-compliance.yml +++ b/.github/workflows/check-metadata-data-compliance.yml @@ -1,19 +1,19 @@ -name: Check-Meta-Data-Compliance +name: Check-Data-Compliance on: - push: - pull_request: + push: jobs: - run-tests: - runs-on: ubuntu-latest + run-tests: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install - run: | - python3 -m pip install setuptools - python3 -m pip install goodtables - - name: Test - run: | - python3 -m goodtables validate --skip-checks extra-header metadata/datapackage.json + steps: + - uses: actions/checkout@v3 + - name: Install + run: | + sudo apt install python3 + python3 -m pip install setuptools + python3 -m pip install git+https://github.com/ddionrails/paneldata_pipeline@master#egg=paneldata_pipeline + - name: Test Relations + run: | + python3 -m paneldata_pipeline.check_metadata -i metadata \ No newline at end of file