-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88aa4c4
commit e4a1406
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test Output | ||
|
||
'on': pull_request | ||
|
||
jobs: | ||
test-output: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.7' | ||
architecture: 'x64' | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '13.x' | ||
- name: Append path | ||
run: echo "::add-path::$HOME/.local/bin" | ||
- name: Install dependencies | ||
run: | | ||
pip install poetry | ||
poetry install | ||
pip install --user . | ||
- name: Create new zygoat project | ||
run: zg new test | ||
- name: Spin up containers | ||
run: scripts/ci-start.sh | ||
- name: Backend linting | ||
run: docker-compose exec -T backend flake8 | ||
- name: Frontend linting | ||
run: docker-compose exec -T frontend yarn eslint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Lint and Test | ||
|
||
'on': [push, pull_request] | ||
'on': pull_request | ||
|
||
jobs: | ||
lint: | ||
|