Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 124 #128

Merged
merged 10 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
name: Ubuntu CI

on: [push, pull_request]
on:
push:
branches:
- main
tags:
- "*"
pull_request:
schedule:
- cron: '30 2 * * 1,4' # Every Monday and Thursday @ 2h30am UTC

env:
POETRY_VERSION: 1.4.0
POETRY_VERSION: 2.0.1

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
python-version: ["3.8", "3.9", "3.10"]
os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04 ]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -21,10 +29,13 @@ jobs:

- name: Cache Installations
id: cache-installs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: install-${{ env.INSTALL_CACHE_HASH }}-4
key: install-${{ env.INSTALL_CACHE_HASH }}-

- name: Install latest setuptools, wheel, pip
run: python3 -m pip install -U pip setuptools wheel

- name: Install Poetry
if: steps.cache-installs.outputs.cache-hit != 'true'
Expand All @@ -42,6 +53,9 @@ jobs:
- name: Install shadems
run: poetry install --extras "testing"

- name: Check installed version command
run: poetry run shadems --version

- name: Test command
run: poetry run shadems --help

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

env:
POETRY_VERSION: 1.4.0
POETRY_VERSION: 2.0.1

jobs:
deploy:
Expand Down
Loading