From 9d2cc7b5518f0204ffb60ba75341523c8056081f Mon Sep 17 00:00:00 2001 From: Zain Sohail Date: Mon, 24 Jun 2024 18:25:11 +0200 Subject: [PATCH] put poetry install as seperate step, update years --- .github/workflows/testing_coverage.yml | 4 +++- .github/workflows/testing_multiversion.yml | 4 +++- LICENSE | 2 +- docs/conf.py | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing_coverage.yml b/.github/workflows/testing_coverage.yml index aed56e33..5d46abad 100644 --- a/.github/workflows/testing_coverage.yml +++ b/.github/workflows/testing_coverage.yml @@ -26,10 +26,12 @@ jobs: python-version: 3.8 poetry-version: 1.2.2 + - name: Install project dependencies + run: poetry install + # Run pytest with coverage report, saving to xml - name: Run tests on python 3.8 run: | - poetry install poetry run pytest --cov --cov-report xml:cobertura.xml --full-trace --show-capture=no -sv -n auto tests/ # Take report and upload to coveralls diff --git a/.github/workflows/testing_multiversion.yml b/.github/workflows/testing_multiversion.yml index 3903022c..f34ae159 100644 --- a/.github/workflows/testing_multiversion.yml +++ b/.github/workflows/testing_multiversion.yml @@ -27,8 +27,10 @@ jobs: python-version: ${{matrix.python-version}} poetry-version: 1.2.2 + - name: Install project dependencies + run: poetry install + # Use cached python and dependencies, install poetry - name: Run tests on python ${{matrix.python-version}} run: | - poetry install poetry run pytest --full-trace --show-capture=no -sv -n auto tests/ diff --git a/LICENSE b/LICENSE index 74ab188a..7961f2d1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022-2023 OpenCOMPES +Copyright (c) 2022-2024 OpenCOMPES Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/conf.py b/docs/conf.py index 1d7e3575..bd4c1396 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ def _get_project_meta(): pkg_meta = _get_project_meta() project = str(pkg_meta["name"]) -copyright = "2022, OpenCOMPES team" +copyright = "2024, OpenCOMPES team" author = "OpenCOMPES team" # The short X.Y version