Skip to content

Commit

Permalink
add actions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guofei9987 authored Sep 14, 2023
1 parent 0f145dc commit ae17709
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test all

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
name: Test python API
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Run tests
run: |
python setup.py install
python example/example_hide_as_img.py
python example/example_hide_in_img.py
python example/example_img_exif.py
python example/example_hide_as_music.py
python example/example_hide_in_music.py
python example/example_img_seed.py
python example/example_hide_as_txt.py
python example/example_hide_in_txt.py
python example/example_mirage_tank.py

0 comments on commit ae17709

Please sign in to comment.