Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ords GHA #33

Merged
merged 6 commits into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/pytest_ords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
channels: conda-forge,defaults
python-version: ${{ matrix.python-version }}
miniconda-version: "latest"
- name: Install Poppler Reqs
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install libpoppler-cpp-dev
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install poppler
fi
shell: bash
- name: Install dependencies
shell: bash -l {0}
run: |
Expand All @@ -32,6 +41,8 @@ jobs:
python -m pip install pytest
python -m pip install pytest-mock
python -m pip install pytest-cov
python -m pip install psycopg2-binary
python -m pip install boto3
python -m pip install .
playwright install
- name: Run pytest and Generate coverage report
Expand All @@ -40,6 +51,7 @@ jobs:
python -m pytest -v --disable-warnings --cov=./ --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
if: matrix.os == 'ubuntu-latest'
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand Down
Loading