Skip to content

Commit

Permalink
gergo/simplify (#189)
Browse files Browse the repository at this point in the history
* refactor to a lean implementation

* update gitignore

* rework retry errors

* add main test example

* remove integration tests

* prettier fix
  • Loading branch information
gjedlicska authored Aug 9, 2023
1 parent d742e57 commit 0b374bb
Show file tree
Hide file tree
Showing 50 changed files with 6,697 additions and 129,354 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,6 @@ on: # rebuild any PRs and main branch changes
- 'releases/*'

jobs:
integration-test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Yarn Install
run: yarn install
- uses: actions/cache/save@v3
id: cache-save
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- run: |
yarn run run:mockserver & # run mockserver in background, will be killed when test finishes
- uses: ./
with:
speckle_automate_url: 'http://127.0.0.1:3000'
speckle_token: 'lolzSuperSecretzToken'
speckle_function_id: 'functionid'
speckle_function_path: 'examples/minimal'
speckle_function_command: 'echo'
pre-commit:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ node_modules
# dotenv environment variables file
.env
.env.test
.envrc

# Ignore built ts files
lib
Expand Down
16 changes: 0 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ repos:
- id: check-yaml
args:
- --allow-multiple-documents
exclude: deploy/helm
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
Expand Down Expand Up @@ -49,21 +48,6 @@ repos:
types:
- ts
language: system
- id: build-mockserver
name: build mockserver package
entry: yarn run package:mockserver
pass_filenames: false
types:
- ts
language: system
- id: unit tests
name: unit tests
entry: yarn run test
pass_filenames: false
language: system
types:
- ts
exclude: ^dist/

- repo: https://github.com/specklesystems/pre-commit
rev: '0.2.0'
Expand Down
Loading

0 comments on commit 0b374bb

Please sign in to comment.