This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Fix or ignore some pytype errors. #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unittests | |
# Allow to trigger the workflow manually (e.g. when deps changes) | |
on: [push, workflow_dispatch] | |
jobs: | |
unittest-job: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
# Install deps | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
# Uncomment to cache of pip dependencies (if tests too slow) | |
# cache: pip | |
# cache-dependency-path: '**/pyproject.toml' | |
- run: pip --version | |
- run: pip install -e .[dev] | |
- run: pip freeze | |
# Run tests | |
- name: Run core tests | |
run: python -m r_u_sure.testing.run_tests | |