-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #615 from neerdoc/publisher_restruct
Publisher restruct
- Loading branch information
Showing
46 changed files
with
3,609 additions
and
2,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
name: Python ${{ matrix.python-version }} | ||
|
||
defaults: | ||
|
@@ -60,14 +60,22 @@ jobs: | |
# very slow. Especially any client/server tests seems to be problematic. | ||
# This is a simple attempt to re-run the tests up to three times if they | ||
# fail. Does not add any execution time if successful. | ||
- name: Run tests attempt 1 | ||
run: make test | ||
- name: Run tests attempt 2 | ||
if: ${{ failure() }} | ||
run: make test | ||
- name: Run tests attempt 3 | ||
if: ${{ failure() }} | ||
run: make test | ||
- uses: Wandalen/[email protected] | ||
name: Run tests | ||
with: | ||
command: make test | ||
current_path: ${{ inputs.workpath }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
|
||
# - name: Run tests attempt 1 | ||
# run: make test | ||
# - name: Run tests attempt 2 | ||
# if: ${{ failure() }} | ||
# run: make test | ||
# - name: Run tests attempt 3 | ||
# if: ${{ failure() }} | ||
# run: make test | ||
|
||
- name: Upload coverage | ||
uses: codecov/codecov-action@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ | |
%% and modify, as long as reference to the original author | ||
%% is given. | ||
%% | ||
%% Original author: Gustav Johansson, [email protected] | ||
%% Original author: Gustav Wulf, [email protected] | ||
%% | ||
%% Last modified by: Gustav Johansson, February 16, 2022. | ||
%% Last modified by: Gustav Wulf, December 29, 2023. | ||
%% | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% | ||
|
@@ -19,12 +19,12 @@ | |
% Identification | ||
% ****************************************************** | ||
\def\classversion{1.0} | ||
\def\classdate{Feb 16, 2022} | ||
\def\classdate{Dec 29, 2023} | ||
|
||
\typeout{Document class version: \classversion} | ||
\typeout{Last modified: \classdate} | ||
\NeedsTeXFormat{LaTeX2e} | ||
\ProvidesClass{doorstop} | ||
\ProvidesClass{template/doorstop} | ||
|
||
% ****************************************************** | ||
% Declare Options | ||
|
@@ -87,15 +87,16 @@ | |
\newenvironment{plantuml}[1]{\VerbatimOut{#1.txt}}{\endVerbatimOut} | ||
|
||
% Process a PlantUML code: | ||
\newcommand{\process}[3]{% | ||
\newcommand{\process}[4]{% | ||
% Call PlantUML to produce a svg vector graphcis: | ||
\immediate\write18{plantuml -tsvg #1.txt} | ||
% Call Inkscape to convert the svg to a pdf (pdflatex cannot use svg): | ||
\immediate\write18{inkscape #1.svg --export-pdf=#1.pdf} | ||
% Include the pdf: | ||
\begin{figure}[h] | ||
\includegraphics[width=#2]{#1.pdf} | ||
\begin{figure}[!h] | ||
\includegraphics[width=#2]{#1.pdf} | ||
\caption{#3} | ||
\label{fig:plant#4}\zlabel{fig:plant#4} | ||
\end{figure} | ||
% Remove all intermediate files: | ||
\immediate\write18{rm #1.txt #1.svg #1.pdf} | ||
|
File renamed without changes.
Oops, something went wrong.