Skip to content

Commit 3d3b0fa

Browse files
authored
Update main.yml
1 parent 009f4b8 commit 3d3b0fa

File tree

1 file changed

+1
-50
lines changed

1 file changed

+1
-50
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
os: [ubuntu, macos]#,windows]
21+
os: [ubuntu, macos] #,windows]
2222
py: ["3.10", "3.11", "3.12", "3.13"]
2323
include:
2424
#- os: windows
@@ -68,52 +68,3 @@ jobs:
6868
- name: test nbdev notebooks
6969
run: |
7070
cd nbdev && nbdev_test
71-
72-
fastai-integration-test:
73-
runs-on: ubuntu-latest
74-
env:
75-
download: "true"
76-
strategy:
77-
matrix:
78-
nb: ['[0-1]', '[2-3]', '[4-5]','[6-7]', '[8-9]']
79-
steps:
80-
- name: Set up Python
81-
uses: actions/setup-python@v3
82-
with:
83-
python-version: '3.11'
84-
- name: clone this branch [fastcore]
85-
uses: actions/checkout@v3
86-
with:
87-
path: fastcore/
88-
89-
- name: clone fastai
90-
uses: actions/checkout@v3
91-
with:
92-
repository: 'fastai/fastai'
93-
path: fastai
94-
95-
- name: Install libraries
96-
run: |
97-
pip3 install -Uqq git+https://github.com/fastai/nbdev.git
98-
cd fastai && pip install -Ue ".[dev]"
99-
cd ../fastcore && pip install -Ue .[dev]
100-
101-
- name: check for cache hit
102-
uses: actions/cache@v3
103-
id: cache
104-
with:
105-
path: ~/.fastai/data
106-
key: 'fastai-test-data-v5'
107-
108-
- name: download data
109-
if: env.download == 'true' && steps.cache.outputs.cache-hit != 'true'
110-
run: |
111-
wget https://raw.githubusercontent.com/fastai/docker-containers/master/fastai/tmp_scripts/download_testdata.py
112-
ipython download_testdata.py
113-
mkdir -p $HOME/.fastai/data
114-
find $HOME/.fastai/archive/ -name "*.tgz" -exec tar -xzvf {} -C $HOME/.fastai/data \;
115-
116-
- name: Test fastai notebooks
117-
run: |
118-
cd fastai
119-
nbdev_test --flags '' --n_workers 3 --pause 1.5 --file_re "[0-9]${{matrix.nb}}.*"

0 commit comments

Comments
 (0)