Skip to content

Commit

Permalink
ci: use GH action license check
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
  • Loading branch information
acomodi committed Jun 18, 2021
1 parent 865315a commit 946099b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 111 deletions.
66 changes: 0 additions & 66 deletions .github/check_license.sh

This file was deleted.

45 changes: 0 additions & 45 deletions .github/check_python_scripts.sh

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Copyright (C) 2021 The SymbiFlow Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier:ISC

name: CI tests

on: [push, pull_request]
Expand All @@ -15,6 +23,14 @@ jobs:
with:
submodules: recursive

- uses: SymbiFlow/actions/checks@main
with:
exclude_license: |
- ./tests/test_data/db/mapping/devices.yaml
- ./tests/test_data/db/mapping/parts.yaml
- ./tests/test_data/ff_int/top.v
- ./tests/test_data/lut_int/top.v
- name: Setup Python
uses: actions/setup-python@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/format.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash
# Copyright (C) 2021 The SymbiFlow Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier:ISC

set -ex

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/bin/bash
# Copyright (C) 2021 The SymbiFlow Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier:ISC

make test-py
test $(git status --porcelain | wc -l) -eq 0 || { git diff; false; }

0 comments on commit 946099b

Please sign in to comment.