-
Notifications
You must be signed in to change notification settings - Fork 166
61 lines (51 loc) · 1.34 KB
/
adamtest.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
51
52
53
54
55
56
57
58
59
60
61
name: Adam Test
on:
merge_group:
pull_request:
types:
- opened
- synchronize
push:
branches:
- py12-build-fix
permissions:
contents: read
jobs:
run:
name: Run
runs-on: ubuntu-latest
env:
BUBBLEWRAP_ARGUMENTS: |
--unshare-all \
--clearenv \
--ro-bind / / \
--bind ${{ github.workspace }} ${{ github.workspace }} \
--tmpfs $HOME \
--tmpfs /tmp \
--tmpfs /var \
--dev /dev \
--proc /proc \
--die-with-parent \
--new-session \
strategy:
matrix:
python-version: ["3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- name: Configure dependencies
run: |
pip install --user --upgrade pip
pip install --user pipx
pipx ensurepath
pipx install poetry
poetry config virtualenvs.in-project true
poetry install --with dev --verbose
poetry self add "poetry-dynamic-versioning[plugin]==1.1.1" --verbose
- name: Run tests
run: |
poetry run pytest --cov=auth0 --cov-report=term-missing:skip-covered --cov-report=xml