Skip to content
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

Use pytest and ghdl/setup-ghdl-ci #25

Merged
merged 4 commits into from
May 21, 2020
Merged

Use pytest and ghdl/setup-ghdl-ci #25

merged 4 commits into from
May 21, 2020

Conversation

umarcor
Copy link
Member

@umarcor umarcor commented May 20, 2020

This PR includes some fixes to the docs (suggested by @RocketRoss in #21) and a fix for a warning in a C source.

The main contribution is the addition of a pytest script, instead of listing each example/test explicitly as a separate task in the GitHub Action workflow. Using the pytest script allows finer grained control of which tests are executed/skipped on each platform.

Moreover, Action umarcor/setup-ghdl is used to install latest (nightly) releases of GHDL. See ghdl/ghdl#1315. Instead of replacing existing tasks, four runs are kept:

  • lin-docker: Linux, in a docker container.
  • win-stable: Windows, with stable packages (v0.37).
  • lin-setup: Linux, through setup-ghdl.
  • win-setup: Windows, through setup-ghdl.

Currently, setup-ghdl retrieves packages from https://github.com/umarcor/ghdl/releases/tag/nightly. This PR will be kept as a draft until ghdl/ghdl#1315 is merged and setup-ghdl is modified to retrieve packages from https://github.com/ghdl/ghdl/releases/tag/nightly instead setup-ghdl is copied to ghdl/setup-ghdl-ci.

@umarcor umarcor marked this pull request as ready for review May 21, 2020 20:25
@umarcor umarcor changed the title Use pytest and setup-ghdl Use pytest and ghdl/setup-ghdl-ci May 21, 2020
@eine eine merged commit efa2509 into ghdl:master May 21, 2020
@umarcor umarcor deleted the pytest branch May 21, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants