Skip to content

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

Merged
eine merged 4 commits into
ghdl:masterfrom
umarcor:pytest
May 21, 2020
Merged

Use pytest and ghdl/setup-ghdl-ci#25
eine merged 4 commits into
ghdl:masterfrom
umarcor:pytest

Conversation

@umarcor

@umarcor umarcor commented May 20, 2020

Copy link
Copy Markdown
Member

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 mentioned this pull request May 20, 2020
@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.

2 participants