-
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 709 Bytes
/
tests.yaml
File metadata and controls
38 lines (30 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: tests
on:
push:
paths-ignore:
- 'docs/**'
branches:
- main
pull_request:
paths-ignore:
- 'docs/**'
branches:
- '**'
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: fetch code
uses: actions/checkout@v3
- name: install en-gb dictionary
run: sudo apt-get install -y hunspell-en-gb
- name: set python version
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: install dependencies
uses: artisanal-actions/poetry-install@v1
- name: install pytest plugin
run: poetry run pip install pytest-github-actions-annotate-failures
- name: run tests
run: make ci