-
-
Notifications
You must be signed in to change notification settings - Fork 20
Updated continuous integration #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,47 +7,34 @@ on: | |
# Run every Sunday at 06:53 UTC | ||
- cron: 53 6 * * 0 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tests: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: ubuntu-latest | ||
python-version: 3.7 | ||
toxenv: py37-test-pytest46 | ||
- os: windows-latest | ||
python-version: 3.7 | ||
toxenv: py37-test-pytest50 | ||
- os: macos-latest | ||
python-version: 3.8 | ||
toxenv: py38-test-pytest52 | ||
- os: ubuntu-latest | ||
python-version: 3.8 | ||
toxenv: py38-test-pytest53 | ||
- os: windows-latest | ||
python-version: 3.9 | ||
toxenv: py39-test-pytest60 | ||
- os: macos-latest | ||
python-version: 3.9 | ||
toxenv: py39-test-pytest61 | ||
- os: ubuntu-latest | ||
python-version: '3.10' | ||
toxenv: py310-test-pytest62 | ||
- os: ubuntu-latest | ||
python-version: '3.10' | ||
toxenv: py310-test-pytestdev | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install tox | ||
run: python -m pip install tox | ||
- name: Run tox | ||
run: tox -v -e ${{ matrix.toxenv }} | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 | ||
with: | ||
envs: | | ||
- linux: codestyle | ||
- linux: py37-test-pytestoldest | ||
- macos: py37-test-pytest50 | ||
- windows: py38-test-pytest52 | ||
- linux: py38-test-pytest53 | ||
- macos: py39-test-pytest60 | ||
- windows: py39-test-pytest61 | ||
- linux: py310-test-pytest62 | ||
- macos: py310-test-pytest70 | ||
- windows: py310-test-pytest71 | ||
- linux: py311-test-pytest72 | ||
- macos: py311-test-pytest73 | ||
- windows: py312-test-pytest74 | ||
- linux: py312-test-devdeps | ||
publish: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does this mean? Can we still use the "Build wheels" label on PRs here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The wheels are always built in PRs with this config. It's so fast there's no point making it optional. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wheels will always be built but only published to PyPI on a tag There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK so after we have merged this, we should delete that "Build wheels" label. |
||
needs: tests | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1 | ||
with: | ||
test_extras: test | ||
test_command: pytest $GITHUB_WORKSPACE/tests; pytest --arraydiff $GITHUB_WORKSPACE/tests | ||
secrets: | ||
pypi_token: ${{ secrets.pypi_password }} |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.