Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Merge pull request #330 from CSCfi/archival-notice #489

Merge pull request #330 from CSCfi/archival-notice

Merge pull request #330 from CSCfi/archival-notice #489

Workflow file for this run

name: Unit Tests
on:
push:
schedule:
- cron: '0 7 * * 1'
jobs:
unit_test:
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: [3.8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install libcurl-devel
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions coverage
- name: Run unit tests for python 3.8
run: |
tox -e py38
coverage lcov -o lcov.info
- name: Send coverage to coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: lcov.info