diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml new file mode 100644 index 0000000..654e76b --- /dev/null +++ b/.github/workflows/Tests.yml @@ -0,0 +1,37 @@ +name: Tests + +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" + +jobs: + test: + strategy: + matrix: + image: [gapsystem/gap-docker, gapsystem/gap-docker-master] + runs-on: ubuntu-latest + container: + image: ${{ matrix.image }} + steps: + - uses: actions/checkout@v1 + - run: mkdir -p /home/gap/.gap/pkg/ + - run: sudo cp -a $GITHUB_WORKSPACE /home/gap/.gap/pkg/ + - run: sudo chown -R gap:gap /home/gap/.gap/pkg/ + - run: | + export HOME="/home/gap" + cd /home/gap/.gap/pkg/ + git clone --depth 1 https://github.com/homalg-project/homalg_project.git + git clone --depth 1 https://github.com/homalg-project/CAP_project + git clone --depth 1 https://github.com/homalg-project/CategoryConstructor + git clone --depth 1 https://github.com/homalg-project/HigherHomologicalAlgebra + git clone --depth 1 https://github.com/homalg-project/Toposes + git clone --depth 1 https://github.com/homalg-project/FinSetsForCAP + git clone --depth 1 https://github.com/homalg-project/QPA2 + git clone --depth 1 https://github.com/homalg-project/Algebroids + git clone --depth 1 https://github.com/homalg-project/FunctorCategories + git clone --depth 1 https://github.com/homalg-project/SubcategoriesForCAP + cd CatReps + TERM=dumb make -j $(nproc) --output-sync ci-test + curl -s https://codecov.io/bash | bash diff --git a/PackageInfo.g b/PackageInfo.g index 6edd93c..d561f58 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -11,7 +11,7 @@ SetPackageInfo( rec( PackageName := "CatReps", Subtitle := "Representations and cohomology of finite categories", Version := Maximum( [ - "2020.05.14", ## Mohamed's version + "2020.05.15", ## Mohamed's version ## this line prevents merge conflicts "2020.01.01", ## Tibor's version ## this line prevents merge conflicts diff --git a/README.md b/README.md index 33e317a..fd7da31 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ | **Documentation** | **Build Status** | |:-----------------------------------------------------------------:|:-----------------------------------------------------------------------------------------------:| -| [![][docs-stable-img]][docs-stable-url] | [![][circle-ci-img]][circle-ci-url] [![][codecov-img]][codecov-url] | +| [![][docs-stable-img]][docs-stable-url] | [![][tests-img]][tests-url] [![][codecov-img]][codecov-url] | The package `CatReps` constructs the category of finite dimensional k-linear representations of a finite (concrete) category. The supported categorical doctrine is "symmetric monoidal Abelian category with enough projectives and (possibly incomplete) direct sum decomposition". @@ -19,8 +19,8 @@ Future versions of `CatReps` will rely on [`reps`](https://www-users.math.umn.ed [docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg [docs-stable-url]: https://homalg-project.github.io/CatReps/doc/chap0.html -[circle-ci-img]: https://circleci.com/gh/homalg-project/CatReps.svg?branch=master -[circle-ci-url]: https://circleci.com/gh/homalg-project/CatReps +[tests-img]: https://github.com/homalg-project/CatReps/workflows/Tests/badge.svg +[tests-url]: https://github.com/homalg-project/CatReps/ [codecov-img]: https://codecov.io/gh/homalg-project/CatReps/branch/master/graph/badge.svg [codecov-url]: https://codecov.io/gh/homalg-project/CatReps diff --git a/release b/release index 5b9db5d..607f785 100755 --- a/release +++ b/release @@ -284,7 +284,8 @@ git archive --prefix=$BASENAME/ $TAG . | tar xf - -C "$TMP_DIR/" cd "$TMP_DIR/$BASENAME" notice "Removing unnecessary files" -rm -f .git* .hg* .cvs* +rm -rf .github .circleci +rm -f .git* .hg* .cvs* .codecov* if [ -x autogen.sh ] ; then notice "Generating build system files"