-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (34 loc) · 887 Bytes
/
main.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
name: main-ci
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-22.04
container:
image: ghcr.io/noahp/emoji-fzf:2022-12-05
# we need to be root for checkout to work without pain
options: "--entrypoint='' --user=root"
strategy:
matrix:
python: [py38, py39, py310, py311, py312]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: 🧪 Run Tox Python Tests
run: |
tox -e ${{ matrix.python }}
- name: 🔍 Other Tox Checks
run: |
tox -e ruff -e check-wheel-contents
- name: 📦 Upload Wheel Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.python }}-wheel-output
path: .tox/${{ matrix.python }}/dist/