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

ci: add python 3.13 to test matrix #1150

Draft
wants to merge 18 commits into
base: 2.3.0
Choose a base branch
from
Draft
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ jobs:
matrix:
python-version: ['3.8', '3.12']
db-backend: [mysql, postgres]
# test Python 3.13 already
# release is scheduled for 2024-10-01 (https://peps.python.org/pep-0719/)
# when released: replace "python-version: ['3.8', '3.12']" with python-version: ['3.8', '3.13']
include:
- python-version: '3.13'
db-backend: postgres
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ dist

rdmo/management/static

rdmo/projects/static/projects/js/projects.js
rdmo/core/static/core/js/base.js
rdmo/core/static/core/fonts
rdmo/core/static/core/css/base.css

rdmo/projects/static/projects/js/*.js
rdmo/projects/static/projects/fonts
rdmo/projects/static/projects/css/projects.css
rdmo/projects/static/projects/css/*.css

screenshots
Binary file added rdmo/core/assets/img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
260 changes: 260 additions & 0 deletions rdmo/core/assets/img/rdmo-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions rdmo/core/assets/js/actions/actionTypes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
export const UPDATE_CONFIG = 'UPDATE_CONFIG'
export const DELETE_CONFIG = 'DELETE_CONFIG'

export const ADD_TO_PENDING = 'ADD_TO_PENDING'
export const REMOVE_FROM_PENDING = 'REMOVE_FROM_PENDING'

export const FETCH_SETTINGS_ERROR = 'FETCH_SETTINGS_ERROR'
export const FETCH_SETTINGS_INIT = 'FETCH_SETTINGS_INIT'
export const FETCH_SETTINGS_SUCCESS = 'FETCH_SETTINGS_SUCCESS'

export const FETCH_TEMPLATES_ERROR = 'FETCH_TEMPLATES_ERROR'
export const FETCH_TEMPLATES_INIT = 'FETCH_TEMPLATES_INIT'
export const FETCH_TEMPLATES_SUCCESS = 'FETCH_TEMPLATES_SUCCESS'

export const FETCH_CURRENT_USER_ERROR = 'FETCH_CURRENT_USER_ERROR'
export const FETCH_CURRENT_USER_INIT = 'FETCH_CURRENT_USER_INIT'
export const FETCH_CURRENT_USER_SUCCESS = 'FETCH_CURRENT_USER_SUCCESS'
9 changes: 9 additions & 0 deletions rdmo/core/assets/js/actions/configActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { UPDATE_CONFIG, DELETE_CONFIG } from './actionTypes'

export function updateConfig(path, value, ls = false) {
return {type: UPDATE_CONFIG, path, value, ls}
}

export function deleteConfig(path, ls = false) {
return {type: DELETE_CONFIG, path, ls}
}
9 changes: 9 additions & 0 deletions rdmo/core/assets/js/actions/pendingActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ADD_TO_PENDING, REMOVE_FROM_PENDING } from './actionTypes'

export function addToPending(item) {
return {type: ADD_TO_PENDING, item}
}

export function removeFromPending(item) {
return {type: REMOVE_FROM_PENDING, item}
}
25 changes: 25 additions & 0 deletions rdmo/core/assets/js/actions/settingsActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import CoreApi from '../api/CoreApi'

import { FETCH_SETTINGS_ERROR, FETCH_SETTINGS_INIT, FETCH_SETTINGS_SUCCESS } from './actionTypes'

export function fetchSettings() {
return function(dispatch) {
dispatch(fetchSettingsInit())

return CoreApi.fetchSettings()
.then((settings) => dispatch(fetchSettingsSuccess(settings)))
.catch((errors) => dispatch(fetchSettingsError(errors)))
}
}

export function fetchSettingsInit() {
return {type: FETCH_SETTINGS_INIT}
}

export function fetchSettingsSuccess(settings) {
return {type: FETCH_SETTINGS_SUCCESS, settings}
}

export function fetchSettingsError(errors) {
return {type: FETCH_SETTINGS_ERROR, errors}
}
25 changes: 25 additions & 0 deletions rdmo/core/assets/js/actions/templateActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import CoreApi from '../api/CoreApi'

import { FETCH_TEMPLATES_ERROR, FETCH_TEMPLATES_INIT, FETCH_TEMPLATES_SUCCESS } from './actionTypes'

export function fetchTemplates() {
return function(dispatch) {
dispatch(fetchTemplatesInit())

return CoreApi.fetchTemplates()
.then((templates) => dispatch(fetchTemplatesSuccess(templates)))
.catch((errors) => dispatch(fetchTemplatesError(errors)))
}
}

export function fetchTemplatesInit() {
return {type: FETCH_TEMPLATES_INIT}
}

export function fetchTemplatesSuccess(templates) {
return {type: FETCH_TEMPLATES_SUCCESS, templates}
}

export function fetchTemplatesError(errors) {
return {type: FETCH_TEMPLATES_ERROR, errors}
}
Loading
Loading