-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (28 loc) · 816 Bytes
/
test.yaml
File metadata and controls
35 lines (28 loc) · 816 Bytes
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
name: Test
on:
# push:
# pull_request:
workflow_call:
workflow_dispatch:
concurrency: test-${{ github.sha }}
jobs:
test:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.10"
CONTIGUITY_PROJECT_ID: ${{ secrets.CONTIGUITY_PROJECT_ID }}
CONTIGUITY_TOKEN: ${{ secrets.CONTIGUITY_TOKEN }}
CONTIGUITY_DATA_KEY: ${{ secrets.CONTIGUITY_DATA_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest tests