File: main.yml

package info (click to toggle)
mpl-scatter-density 0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,448 kB
  • sloc: python: 661; makefile: 4
file content (44 lines) | stat: -rw-r--r-- 1,143 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
40
41
42
43
44
name: CI

on:
  push:
  pull_request:

jobs:

  tests:
    uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
    with:
      coverage: codecov
      runs-on: |
        linux: ubuntu-latest
      envs: |
        # Code style
        - linux: codestyle

        # Linux builds - test on all supported Matplotlib versions
        - linux: py38-test-mpl33
        - linux: py39-test-mpl34
        - linux: py39-test-mpl35
        - linux: py310-test-mpl36
        - linux: py310-test-mpl37
        - linux: py311-test-mpldev

        # MacOS X and Windows builds - alternative Matplotlib versions
        - windows: py38-test-mpl33
        - macos: py39-test-mpl34
        - windows: py39-test-mpl35
        - macos: py310-test-mpl36
        - windows: py310-test-mpl37
        - windows: py311-test-mpldev

        # Image tests
        - linux: py311-test-mpl38-image

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