From 6c2beb9d70307efd02a91cca24436ce33eb99552 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Tue, 13 Feb 2024 11:35:17 +0100 Subject: [PATCH] Update CI tests --- .github/emmocheck_conf.yml | 7 +++++++ .github/workflows/ci_emmocheck.yml | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 .github/emmocheck_conf.yml diff --git a/.github/emmocheck_conf.yml b/.github/emmocheck_conf.yml new file mode 100644 index 0000000..8a6fdee --- /dev/null +++ b/.github/emmocheck_conf.yml @@ -0,0 +1,7 @@ +# Configurations used when running emmocheck from the ci_emmocheck workflow +test_quantity_dimension: + exceptions: + - domain-crystallography.LatticeParameterLengthAndAngle + - domain-crystallography.CrystallographicalPhysicalQuantity + - domain-crystallography.LatticeParameter + - domain-crystallography.SufficientLatticeParameterSet diff --git a/.github/workflows/ci_emmocheck.yml b/.github/workflows/ci_emmocheck.yml index c5ee5af..eddfcd7 100644 --- a/.github/workflows/ci_emmocheck.yml +++ b/.github/workflows/ci_emmocheck.yml @@ -8,22 +8,22 @@ jobs: strategy: max-parallel: 1 matrix: - python-version: [3.7] + python-version: [3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'recursive' - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install EMMO-python run: | - pip install EMMO + pip install -U pip EMMOntoPy - name: Check EMMO run: | - emmocheck --verbose --skip=test_namespace crystallography.ttl + emmocheck --verbose --configfile=.github/emmocheck_conf.yml --skip=test_namespace crystallography.ttl