Skip to content

Commit

Permalink
Test the generated project
Browse files Browse the repository at this point in the history
  • Loading branch information
ariataylor96 authored and Mark Rawls committed Mar 16, 2020
1 parent 88aa4c4 commit e4a1406
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/test-output.yml
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
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:
Expand Down

0 comments on commit e4a1406

Please sign in to comment.