Skip to content

Commit a39a9e6

Browse files
committed
Update ci.
1 parent 18694e7 commit a39a9e6

File tree

1 file changed

+5
-30
lines changed

1 file changed

+5
-30
lines changed

.github/workflows/ci.yml

+5-30
Original file line numberDiff line numberDiff line change
@@ -70,36 +70,11 @@ jobs:
7070
#############################################
7171
## Install package and its dependencies
7272
#############################################
73-
- name: Install Python
74-
uses: actions/setup-python@v3
75-
with:
76-
python-version: '3.11'
77-
78-
- name: Setup pip cache
79-
uses: actions/cache@v3
80-
with:
81-
path: /opt/hostedtoolcache/Python
82-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.optional.txt') }}
83-
restore-keys: |
84-
${{ runner.os }}-pip-
85-
86-
- name: Install libXML2
87-
run: |
88-
sudo apt-get update -y
89-
sudo apt-get install -y --no-install-recommends libxml2
90-
91-
- name: Install pip
92-
run: |
93-
python -m pip install pip==23.0.0
94-
python -m pip install pip==23.0.0
95-
python -m pip --version
96-
#python -m pip install --upgrade setuptools
97-
#python -m setuptools --version
98-
99-
100-
- name: Install package
101-
run: |
102-
python -m pip install .[all]
73+
# install package
74+
- name: Set up the environment
75+
uses: ./.github/actions/setup-poetry-env
76+
with:
77+
python-version: "3.11"
10378

10479
#############################################
10580
## Lint

0 commit comments

Comments
 (0)