Skip to content

Commit

Permalink
github/workflows: Add workflow to build and test unix dev variant.
Browse files Browse the repository at this point in the history
Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jul 13, 2021
1 parent 240888a commit 0ee256b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ports_unix.yml
Expand Up @@ -51,6 +51,18 @@ jobs:
if: failure()
run: tests/run-tests.py --print-failures

dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: source tools/ci.sh && ci_unix_dev_build
- name: Run main test suite
run: source tools/ci.sh && ci_unix_dev_run_tests
- name: Print failures
if: failure()
run: tests/run-tests.py --print-failures

coverage:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 8 additions & 0 deletions tools/ci.sh
Expand Up @@ -393,6 +393,14 @@ function ci_unix_standard_run_perfbench {
(cd tests && MICROPY_CPYTHON3=python3 MICROPY_MICROPYTHON=../ports/unix/micropython ./run-perfbench.py 1000 1000)
}

function ci_unix_dev_build {
ci_unix_build_helper VARIANT=dev
}

function ci_unix_dev_run_tests {
ci_unix_run_tests_helper VARIANT=dev
}

function ci_unix_coverage_setup {
sudo pip3 install setuptools
sudo pip3 install pyelftools
Expand Down

0 comments on commit 0ee256b

Please sign in to comment.