Update sources.yml #141
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Run tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry==1.4.0 | |
- name: install pypy | |
id: setup-pypy | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 'pypy-3.8' | |
cache: 'poetry' | |
- name: install deps | |
run: poetry install --no-interaction | |
- name: download fixtures | |
run: ./tools/download_rdzip_fixtures.sh | |
- name: test | |
run: poetry run pytest |