Skip to content

Commit

Permalink
Create ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hfaran authored Oct 22, 2023
1 parent 4a5829c commit ec93798
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [ "2.7", "3.6" ]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: Run tests
run: |
python app.py -z tests/testarchive.zip --test
python cli.py clean
python cli.py clean -w
python -m pytest tests

0 comments on commit ec93798

Please sign in to comment.