mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Create test_of_validate_package action
This commit is contained in:
26
.github/workflows/test_of_validate_package.yml
vendored
Normal file
26
.github/workflows/test_of_validate_package.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: "Tests of validate package"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
unittest:
|
||||||
|
name: 'Run tests of validate package'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.8'
|
||||||
|
|
||||||
|
- name: Run Unittest
|
||||||
|
run: |
|
||||||
|
cd scripts
|
||||||
|
python -m unittest discover tests/ --verbose
|
||||||
Reference in New Issue
Block a user