Skip to content

no-heroku test, plesae ignore #131

no-heroku test, plesae ignore

no-heroku test, plesae ignore #131

Workflow file for this run

name: CI Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Pull and run docker 🐋
shell: bash
run: |
docker pull keyiz/garnet-flow
docker run -it -d --name gemstone --mount type=bind,source="$(pwd)"/../gemstone,target=/gemstone keyiz/garnet-flow bash
- name: Install deps 🛠️
shell: bash
run: |
docker exec -i gemstone bash -c "pip install -e /gemstone"
docker exec -i gemstone bash -c "pip install pytest==7.1.1 python-coveralls"
docker exec -i gemstone bash -c "pip install pytest-cov pytest-pycodestyle"
- name: Run tests ⚙️
shell: bash
run: |
docker exec -i gemstone bash -c 'gemstone/.github/scripts/run.sh'