Compare commits

...

3 Commits
main ... dev

Author SHA1 Message Date
Suzanne Soy
3f0cb6d2f9 Added GitHub Actions CI script 2021-07-06 03:51:25 +01:00
Suzanne Soy
2cb6125abe Turn off coverage in older versions 2021-03-05 04:49:09 +00:00
Suzanne Soy
65fe72e4d6 Changed my name :) 2021-03-04 21:11:02 +00:00
7 changed files with 88 additions and 16 deletions

72
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,72 @@
# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main ]
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
racket: ['6.9', '6.10', '6.10.1', '6.11', '6.12', '7.0', '7.1', '7.2', '7.3', '7.4', '7.5', '7.6', '7.7', '7.8', '7.9', '8.0']
racket_cs: [0]
cover: [true]
exclude:
- racket: '6.8'
cover: true
include:
- racket: '8.0'
racket_cs: 1
cover: true
- racket: '6.8'
racket_cs: 1
cover: false
env:
# RACKET_DIR is an argument to install-racket.sh
RACKET_VERSION: "${{ matrix.racket }}"
RACKET_CS: "${{ matrix.racket_cs }}"
COVER: "${{ matrix.cover }}"
steps:
- uses: actions/checkout@v2
- name: Add to $PATH
run: |
printf %s\\n "$HOME/.racket/bin" >> "$GITHUB_PATH"
- name: Print environment variables
run: |
echo "matrix.racket ${{ matrix.racket }}"
echo "matrix.racket_cs ${{ matrix.racket_cs }}"
echo HOME="$HOME"
echo PATH="$PATH"
echo RACKET_VERSION="$RACKET_VERSION"
echo RACKET_CS="$RACKET_CS"
echo GITHUB_WORSPACE="$GITHUB_WORKSPACE"
- name: Install Racket
run: |
export RACKET_DIR="$HOME/.racket"
curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash
- name: Install the Racket package
run: raco pkg install --deps search-auto -j 2
- name: Test the Racket package
run: raco test -p "$(basename "$GITHUB_WORKSPACE")"
- name: (Re?)Build the Racket package
run: raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$GITHUB_WORKSPACE")"
- name: Documentation coverage
run: |
if $COVER; then raco pkg install --deps search-auto doc-coverage; fi
if $COVER; then raco doc-coverage phc-graph; fi
- name: Code coverage
run: |
if $COVER; then raco pkg install --deps search-auto cover cover-coveralls; fi
if $COVER; then raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .; fi
- name: Deploy
run: if test "x${DEPLOY:-}" = "xtrue"; then sh ./auto-push-gh-pages.sh; fi

View File

@ -28,9 +28,9 @@ env:
#- RACKET_VERSION=6.4 #- RACKET_VERSION=6.4
#- RACKET_VERSION=6.5 #- RACKET_VERSION=6.5
#- RACKET_VERSION=6.6 #- RACKET_VERSION=6.6
- RACKET_VERSION=6.8 - RACKET_VERSION=6.8 COVER=false
- RACKET_VERSION=6.9 - RACKET_VERSION=6.9 COVER=true
- RACKET_VERSION=HEAD - RACKET_VERSION=HEAD COVER=true
matrix: matrix:
allow_failures: allow_failures:
@ -53,12 +53,12 @@ before_script:
script: script:
- raco test -p phc-graph - raco test -p phc-graph
- raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs phc-graph - raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs phc-graph
- raco pkg install --deps search-auto doc-coverage - if $COVER; then raco pkg install --deps search-auto doc-coverage; fi
- raco doc-coverage phc-graph - if $COVER; then raco doc-coverage phc-graph; fi
after_success: after_success:
- raco pkg install --deps search-auto cover cover-coveralls - if $COVER; then raco pkg install --deps search-auto cover cover-coveralls; fi
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage . - if $COVER; then raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .; fi
after_success: after_success:
- sh ./auto-push-master.sh - sh ./auto-push-master.sh

View File

@ -1,7 +1,7 @@
<!-- Tufts VUE 3.3.0 concept-map (Graph-notes-copy2.vue) 2017-04-11 --> <!-- Tufts VUE 3.3.0 concept-map (Graph-notes-copy2.vue) 2017-04-11 -->
<!-- Tufts VUE: http://vue.tufts.edu/ --> <!-- Tufts VUE: http://vue.tufts.edu/ -->
<!-- Do Not Remove: VUE mapping @version(1.1) jar:file:/nix/store/z92y35qgs6g3cvvh0i4f14mg5n47zvvi-vue-3.3.0/share/vue/vue.jar!/tufts/vue/resources/lw_mapping_1_1.xml --> <!-- Do Not Remove: VUE mapping @version(1.1) jar:file:/nix/store/z92y35qgs6g3cvvh0i4f14mg5n47zvvi-vue-3.3.0/share/vue/vue.jar!/tufts/vue/resources/lw_mapping_1_1.xml -->
<!-- Do Not Remove: Saved date Tue Apr 11 14:04:44 CEST 2017 by georges on platform Linux 4.4.40 in JVM 1.8.0_122-04 --> <!-- Do Not Remove: Saved date Tue Apr 11 14:04:44 CEST 2017 by Suzanne Soy on platform Linux 4.4.40 in JVM 1.8.0_122-04 -->
<!-- Do Not Remove: Saving version @(#)VUE: built October 8 2015 at 1724 by tomadm on Linux 2.6.32-504.23.4.el6.x86_64 i386 JVM 1.7.0_21-b11(bits=32) --> <!-- Do Not Remove: Saving version @(#)VUE: built October 8 2015 at 1724 by tomadm on Linux 2.6.32-504.23.4.el6.x86_64 i386 JVM 1.7.0_21-b11(bits=32) -->
<?xml version="1.0" encoding="US-ASCII"?> <?xml version="1.0" encoding="US-ASCII"?>
<LW-MAP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <LW-MAP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -9,10 +9,10 @@
label="Graph-notes-copy2.vue" created="1479309847604" x="0.0" label="Graph-notes-copy2.vue" created="1479309847604" x="0.0"
y="0.0" width="1.4E-45" height="1.4E-45" strokeWidth="0.0" autoSized="false"> y="0.0" width="1.4E-45" height="1.4E-45" strokeWidth="0.0" autoSized="false">
<resource referenceCreated="1491912284366" size="216026" <resource referenceCreated="1491912284366" size="216026"
spec="/home/georges/phc/racket-packages/phc-graph/Graph-notes-copy2.vue" spec="/home/suzanne/phc/racket-packages/phc-graph/Graph-notes-copy2.vue"
type="1" xsi:type="URLResource"> type="1" xsi:type="URLResource">
<title>Graph-notes-copy2.vue</title> <title>Graph-notes-copy2.vue</title>
<property key="File" value="/home/georges/phc/racket-packages/phc-graph/Graph-notes-copy2.vue"/> <property key="File" value="/home/suzanne/phc/racket-packages/phc-graph/Graph-notes-copy2.vue"/>
</resource> </resource>
<fillColor>#FFFFFF</fillColor> <fillColor>#FFFFFF</fillColor>
<strokeColor>#404040</strokeColor> <strokeColor>#404040</strokeColor>
@ -3966,6 +3966,6 @@
</PathwayList> </PathwayList>
<date>2016-11-16</date> <date>2016-11-16</date>
<modelVersion>6</modelVersion> <modelVersion>6</modelVersion>
<saveLocation>/home/georges/phc/racket-packages/phc-graph</saveLocation> <saveLocation>/home/suzanne/phc/racket-packages/phc-graph</saveLocation>
<saveFile>/home/georges/phc/racket-packages/phc-graph/Graph-notes-copy2.vue</saveFile> <saveFile>/home/suzanne/phc/racket-packages/phc-graph/Graph-notes-copy2.vue</saveFile>
</LW-MAP> </LW-MAP>

View File

@ -1,5 +1,5 @@
phc-graph phc-graph
Copyright (c) 2016 georges Copyright (c) 2016 Suzanne Soy
This package is distributed under the GNU Lesser General Public This package is distributed under the GNU Lesser General Public
License (LGPL). This means that you can link phc-graph into proprietary License (LGPL). This means that you can link phc-graph into proprietary

View File

@ -33,4 +33,4 @@
("Data Structures")))) ("Data Structures"))))
(define pkg-desc "Description Here") (define pkg-desc "Description Here")
(define version "0.0") (define version "0.0")
(define pkg-authors '("Georges Dupéron")) (define pkg-authors '(|Suzanne Soy|))

View File

@ -3,7 +3,7 @@
racket/base]] racket/base]]
@title{Ph.C Graph library: Implementation} @title{Ph.C Graph library: Implementation}
@author[@author+email["Georges Dupéron" "georges.duperon@gmail.com"]] @author[@author+email["Suzanne Soy" "racket@suzanne.soy"]]
This library is implemented using literate programming. The implementation This library is implemented using literate programming. The implementation
details are presented in the following sections. The user documentation is in details are presented in the following sections. The user documentation is in

View File

@ -3,7 +3,7 @@
racket/base]] racket/base]]
@title{Ph.C Graph library} @title{Ph.C Graph library}
@author[@author+email["Georges Dupéron" "georges.duperon@gmail.com"]] @author[@author+email["Suzanne Soy" "racket@suzanne.soy"]]
This library is implmented using literate programming. The This library is implmented using literate programming. The
implementation details are presented in implementation details are presented in