Skip to content

Commit

Permalink
Adding github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
navchandar committed Jul 17, 2023
1 parent 3a01e07 commit 2f7c0f8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 39 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Setup Chrome
uses: browser-actions/[email protected]
run: chrome --version

- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test
run: |
python -m unittest test || python3 -m unittest test.py
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
reportlab==4.0.4
webdriver_manager==3.8.6
selenium==3.141.0
PyPDF2==3.0.1
pypdf>=3.9.0

0 comments on commit 2f7c0f8

Please sign in to comment.