File: main.yml

package info (click to toggle)
psrecord 1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: python: 295; makefile: 7
file content (39 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (2)
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
37
38
39
name: CI

on:
  push:
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:

  tests:
    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
    with:
      envs: |
        - linux: py39-test-psutil56
        - linux: py310-test-psutil57
        - linux: py311-test-psutil58-alldeps
        - linux: py312-test-psutil59

        - macos: py39-test-psutil56
        - macos: py310-test-psutil57
        - macos: py311-test-psutil58-alldeps
        - macos: py312-test-psutil59

        - windows: py39-test-psutil56
        - windows: py310-test-psutil57
        - windows: py311-test-psutil58-alldeps
        - windows: py312-test-psutil59

  publish:
    needs: tests
    uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
    with:
      test_extras: 'test'
      test_command: pytest --pyargs psrecord
    secrets:
      pypi_token: ${{ secrets.pypi_token }}