Skip to content

Commit

Permalink
put poetry install as seperate step, update years
Browse files Browse the repository at this point in the history
  • Loading branch information
zain-sohail committed Jun 24, 2024
1 parent 9e971b1 commit 9d2cc7b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/testing_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/testing_multiversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d2cc7b

Please sign in to comment.