Skip to content

Commit

Permalink
activated GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-barakat committed Aug 29, 2020
1 parent 8284c34 commit 8c9f767
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 5 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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".
Expand All @@ -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
3 changes: 2 additions & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8c9f767

Please sign in to comment.