-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (29 loc) · 940 Bytes
/
test.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
# name: CI
# on: [workflow_dispatch, pull_request, push]
# jobs:
# test:
# runs-on: ubuntu-latest
# steps: [uses: fastai/workflows/nbdev-ci@master]
# I am looking at this for how to update the python version.
# https://forums.fast.ai/t/python-version-error-while-running-ci-operations-in-github/98482/3
name: CI
on: [workflow_dispatch, pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: '3.10'
architecture: 'x64'
# The following installation is for some packages needed by PyQt6
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgl1-mesa-glx libegl1-mesa libxkbcommon-x11-0 libdbus-1-3
- uses: fastai/workflows/nbdev-ci@master
with:
version: '3.10'
- name: nbdev test step
run: |
ls