-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (36 loc) · 1.1 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
35
36
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: |
git --version
git rev-parse --show-toplevel
python3 -m pip install --user --upgrade pip
python3 -m pip install --user --upgrade pipenv
python3 -m pip install --user --upgrade pdm
cd tools/check_examples
npm install
pdm install --dev
pdm check all