Skip to content

Commit 7be6f11

Browse files
committed
Non-regression tests for otool.py
1 parent eca2988 commit 7be6f11

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: Unit tests
55

66
on:
77
push:
@@ -89,3 +89,21 @@ jobs:
8989
pwd
9090
ls -l
9191
python ./tests/test_all.py
92+
93+
examples:
94+
runs-on: ${{ matrix.os }}
95+
strategy:
96+
fail-fast: false
97+
matrix:
98+
os: ["macos-10.15", "macos-11", "macos-12"]
99+
python-version: ["2.7", "3.10"]
100+
steps:
101+
- uses: actions/checkout@v3
102+
- name: Set up Python ${{ matrix.python-version }}
103+
uses: actions/setup-python@v4
104+
with:
105+
python-version: ${{ matrix.python-version }}
106+
- name: Non-regression tests
107+
run: |
108+
export PYTHONPATH=$PYTHONPATH:$(pwd)
109+
zsh ./tests/examples_macos.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ When modifications are made, then (depending on the details of the file format)
3636
## Development status
3737

3838
[![codecov](https://codecov.io/gh/LRGH/elfesteem/branch/master/graph/badge.svg)](https://codecov.io/gh/LRGH/elfesteem)
39-
[![Build Status](https://github.com/LRGH/elfesteem/workflows/Python%20package/badge.svg?event=push)](https://github.com/LRGH/elfesteem/actions?query=workflow%3A%22Python+package%22+branch%3Amaster+event%3Apush) <!-- ignore_ppi -->
39+
[![Build Status](https://github.com/LRGH/elfesteem/workflows/Unit%20tests/badge.svg?event=push)](https://github.com/LRGH/elfesteem/actions?query=workflow%3A%22Unit+tests%22+branch%3Amaster+event%3Apush)
4040
[![Build Status](https://travis-ci.org/LRGH/elfesteem.svg?branch=master)](https://travis-ci.org/LRGH/elfesteem)

0 commit comments

Comments
 (0)