forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (44 loc) · 1.65 KB
/
weekly.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
name: Weekly tests
on:
# Runs at 5:00 UTC on Mondays
schedule:
- cron: "0 5 * * 1"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
latest-python:
name: Linux with Python ${{ matrix.python-version }}
runs-on: ubuntu-20.04
strategy:
matrix:
# see list of available Python versions at https://github.com/actions/python-versions/blob/main/versions-manifest.json
python-version: [3.10.0-beta.3]
fail-fast: false
steps:
- run: echo "Job triggered by a ${{ github.event_name }} event on branch is ${{ github.ref }} in repository is ${{ github.repository }}, runner on ${{ runner.os }}"
- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: pip install -r requirements-selftests.txt
- name: Installing Avocado in develop mode
run: python3 setup.py develop --user
- name: Avocado version
run: avocado --version
- name: Avocado smoketest
run: python -m avocado run passtest.py
- name: Quick lint checks
run: python setup.py lint
- name: Tree static check, unittests and fast functional tests
env:
AVOCADO_LOG_DEBUG: "yes"
AVOCADO_CHECK_LEVEL: "1"
run: make check
- run: echo "🥑 This job's status is ${{ job.status }}."