From e367e1d469990089145b3615bdf9123a75b7a4ff Mon Sep 17 00:00:00 2001 From: Eduardo Nunes Pereira Date: Sun, 5 Nov 2023 14:44:02 -0300 Subject: [PATCH] Testing workflow --- .circleci/config.yml | 7 ------- .github/workflows/test.yml | 22 ++++++++++++++++++++++ README.md | 1 - 3 files changed, 22 insertions(+), 8 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/test.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index acde015..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,7 +0,0 @@ -jobs: - build: - docker: - - image: cimg/rust:1.52.0 - steps: - - checkout - - run: cargo test \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..71f674d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Test + +on: + push: + branches: + - ** + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Build + run: cargo build --verbose + + - name: Run tests + run: cargo test --verbose \ No newline at end of file diff --git a/README.md b/README.md index 8bae093..2b33f16 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Das Grid -[![](https://circleci.com/gh/eduardonunesp/das-grid.svg?style=svg)](_) **Das Grid** is a 2D grid library which serves as fundamental building block for any 2D game built on the concept of grid