mirror of
https://github.com/luk3yx/miniirc_matrix.git
synced 2026-05-17 05:25:44 +03:00
25 lines
565 B
YAML
25 lines
565 B
YAML
# From https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python
|
|
|
|
name: Test with pytest
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
run-tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
python_version: [3.8, 3]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python ${{ matrix.python_version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python_version }}
|
|
- name: Install dependencies
|
|
run: python -m pip install miniirc pytest
|
|
- name: Run pytest
|
|
run: pytest
|