From b7ef0a396ad9cfc8c8c1214a40735c068c8cce45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Fri, 5 Apr 2024 10:28:53 +0200
Subject: [PATCH] add GitHub Actions

---
 .github/workflows/ci.yml | 22 ++++++++++++++++++++++
 LICENSE                  |  1 +
 docs/index.rst           |  9 ++++-----
 setup.cfg                |  5 ++++-
 4 files changed, 31 insertions(+), 6 deletions(-)
 create mode 100644 .github/workflows/ci.yml

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..fb34f47
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,22 @@
+name: CI
+run-name: ${{ github.actor }}
+on: [ push ]
+jobs:
+  tests:
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        python-version: [ "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
+    steps:
+      - uses: actions/checkout@main
+      - uses: actions/setup-python@main
+        with:
+          python-version: ${{ matrix.python-version }}
+          cache: pip
+      - name: Install everything
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y python3-setuptools python3-yaml python3-dev
+          pip install -U pip pytest coverage pytest-cov Cython
+      - name: Test
+        run: pytest
diff --git a/LICENSE b/LICENSE
index ae1214d..6a5437b 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,7 @@
 MIT License
 
 Copyright (c) 2021 Dronehub Group sp. z o. o.
+Copyright (c) 2024 SMOK sp. z o. o.
 
 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/index.rst b/docs/index.rst
index c10c272..d290051 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -1,8 +1,3 @@
-.. MiniJSON documentation master file, created by
-   sphinx-quickstart on Wed May 26 13:28:36 2021.
-   You can adapt this file completely to your liking, but it should at least
-   contain the root `toctree` directive.
-
 Welcome to MiniJSON's documentation!
 ====================================
 
@@ -26,6 +21,10 @@ You should avoid objects with keys different than strings, since they will alway
 4-byte length field. This is to be improved in a future release. Key not being strings
 is anyway invalid JSON_.
 
+.. warning::
+
+   Note that the valid mimetype for this is :code:`application/x-minijson`,
+   although you can use the :code:`application/minijson` in a pinch.
 
 .. _JSON: https://www.w3schools.com/js/js_json_objects.asp
 
diff --git a/setup.cfg b/setup.cfg
index 819c57b..4da0e08 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -15,13 +15,16 @@ project_urls =
 	Code = https://github.com/Dronehub/minijson
 	Issue tracker = https://github.com/Dronehub/minijson/issues
 classifier =
-    Development Status :: 4 - Beta
+    Development Status :: 5 - Production/Stable
     Programming Language :: Python
     Programming Language :: Python :: 3.5
     Programming Language :: Python :: 3.6
     Programming Language :: Python :: 3.7
     Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
+    Programming Language :: Python :: 3.10
+    Programming Language :: Python :: 3.11
+    Programming Language :: Python :: 3.12
     Programming Language :: Python :: Implementation :: CPython
     Programming Language :: Python :: Implementation :: PyPy
     Operating System :: OS Independent
-- 
GitLab