Skip to content

Commit

Permalink
Port golang test from travis to github, first try
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellMorgenstern committed Oct 30, 2020
1 parent 9d346a4 commit 64f71dd
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: check-all-parts
on: [push]
jobs:
run-some-scripts:
python-scripts:
#runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -19,4 +19,21 @@ jobs:
- run: python scripts/checkascii.py .
- run: python scripts/checkcase.py
- run: python scripts/connectors_misnumbered.py -d .
- run: python scripts/checkcopies.py -d svg
- run: python scripts/checkcopies.py -d svg

golang-scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.x
- name: Install fzp tool
run: |
go get github.com/fritzing/fzp/bin/fzp
fzp -v
go get github.com/fritzing/fzb/bin/fzb
fzb -version
- name: Fzp validate
run: fzp validate --dir $HOME/gopath/src/github.com/fritzing/fritzing-parts/core

0 comments on commit 64f71dd

Please sign in to comment.