Skip to content

Commit

Permalink
chore: debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BCerki committed Sep 13, 2023
1 parent 4d8a8b5 commit 13003a6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .bin/pre-commit-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ pushd client || exit 1
files=("$@")
files=("${files[@]/#/../}") # add ../ to each element

#yarn run eslint "${files[@]}"
yarn run unicorn "${files[@]}"
yarn run eslint "${files[@]}"
27 changes: 16 additions & 11 deletions .github/workflows/pre-commit-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,29 @@ jobs:
uses: ./.github/actions/dev-env-setup
- run: yarn install --frozen-lockfile
working-directory: ./client
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
install-server-dev-tools:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: dev env setup
uses: ./.github/actions/dev-env-setup
- name: Set up python
id: setup-python
uses: actions/setup-python@v4
with:
python-version: "3.9.16"
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Poetry dependencies
run: poetry install
- name: devtools
run: make install_dev_tools
working-directory: ./bc_obps
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
# - name: Set up python
# id: setup-python
# uses: actions/setup-python@v4
# with:
# python-version: "3.9.16"
# - name: Install Poetry
# uses: snok/install-poetry@v1
# - name: Install Poetry dependencies
# run: poetry install
# working-directory: ./bc_obps
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
yarn-test:
needs: install-client-dev-tools
runs-on: ubuntu-latest
Expand Down

0 comments on commit 13003a6

Please sign in to comment.