Skip to content

Commit 34fa218

Browse files
committed
update ci setting
1 parent a1c8d6e commit 34fa218

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

.github/workflows/ci.yml

+38-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,48 @@ env:
1212
# RUSTFLAGS: "-D warnings" # it needs some works to enable this flag
1313

1414
jobs:
15-
tests:
15+
ubuntu:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Free Disk Space (Ubuntu)
19+
uses: jlumbroso/free-disk-space@main
20+
with:
21+
# this might remove tools that are actually needed,
22+
# if set to "true" but frees about 6 GB
23+
tool-cache: false
24+
25+
# all of these default to true, but feel free to set to
26+
# "false" if necessary for your workflow
27+
android: true
28+
dotnet: true
29+
haskell: true
30+
large-packages: true
31+
docker-images: true
32+
swap-storage: true
33+
- uses: actions/checkout@v2
34+
- uses: actions-rs/toolchain@v1
35+
with:
36+
profile: minimal
37+
toolchain: stable
38+
override: true
39+
components: rustfmt
40+
- name: Setup Python # Set Python version
41+
uses: actions/setup-python@v4
42+
with:
43+
python-version: 3.8
44+
# Install pip and pytest
45+
- name: Install dependencies
46+
run: |
47+
python -m pip install --upgrade pip
48+
pip install -r .github/workflows/requirements.txt
49+
- name: Execute test-all
50+
run: ./test-all
51+
shell: bash
52+
others:
1653
runs-on: ${{ matrix.os }}
1754
strategy:
1855
matrix:
1956
os:
20-
- ubuntu-latest
2157
- macos-latest
2258
- windows-latest
2359
steps:

0 commit comments

Comments
 (0)