-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (34 loc) · 1.04 KB
/
check_examples.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
name: Check Examples
run-name: ${{ github.actor }} running GitHub Actions on check-examples.yml
on: [workflow_dispatch, pull_request]
jobs:
check-example-directories:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- id: inspect-examples
name: Inspect Examples
run: |
python3 -m pip install --user --upgrade pip
python3 -m pip install --user --upgrade pipenv==2024.0.2
python3 -m pip install --user --upgrade pdm
cd tools/check_examples
npm install
pdm install --dev
pdm check all