-
Notifications
You must be signed in to change notification settings - Fork 44
79 lines (73 loc) · 2.49 KB
/
integtests.yaml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Integration Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
# archlinux:
# runs-on: ubuntu-latest
# container:
# image: archlinux:latest
# volumes:
# - ${{ github.workspace }}:/fades
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Install dependencies
# run: |
# pacman -Sy --noconfirm python3 python-setuptools
# - name: Simple fades run
# run: |
# cd /fades
# bin/fades -v -d pytest -x pytest --version
fedora:
runs-on: ubuntu-latest
container:
image: fedora:latest
volumes:
- ${{ github.workspace }}:/fades
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
yum install --assumeyes python3-setuptools
- name: Simple fades run
run: |
cd /fades
bin/fades -v -d pytest -x pytest --version
- name: Using a different Python
run: |
# XXX Facundo 2024-02-29 - remove virtualenv here as part of issue #411 work
yum install --assumeyes python3.9 python3-virtualenv
cd /fades
export TEST_PYTHON_VERSION=3.9
bin/fades -v --python=python3.9 -d pytest -x pytest tests/integtest.py
# native:
# strategy:
# matrix:
# # just a selection otherwise it's too much
# # - latest OSes
# # - oldest and newest Python
# os: [ubuntu-22.04, macos-12, windows-2022]
# python-version: [3.8, "3.12"]
#
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v4
#
# - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# pip install -U setuptools
# - name: Simple fades run
# run: |
# bin/fades -v -d pytest -x pytest --version